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
WBOYOriginal
2016-06-24 11:51:421420browse

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

Statement:
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