Home > Web Front-end > HTML Tutorial > How to add a small magnifying glass to the lower right corner of the picture_html/css_WEB-ITnose

How to add a small magnifying glass to the lower right corner of the picture_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:51:42
Original
1421 people have browsed it

I plan to add a "click on the small image to see the big image" function, so I want to add a magnifying glass to the lower right corner of the image to express it, but I don't want to change the image. I remember seeing it on other websites, and it seemed like two layers were put together. Same thing. Does anyone know how to achieve this?


Reply to the discussion (solution)

If it is implemented on the same page. The page has a large picture, 100px*100px
The small picture is 20px *20px.
Click to enlarge just modify the width height

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template