Home > Web Front-end > JS Tutorial > js realizes the effect of displaying part of the picture and displaying the whole after the mouse passes_Image special effects

js realizes the effect of displaying part of the picture and displaying the whole after the mouse passes_Image special effects

WBOY
Release: 2016-05-16 19:06:23
Original
1360 people have browsed it

This is an example of an image magnification effect using CSS's negative margin value and relative positioning. The picture is only partial at first, and the entire picture is displayed when the mouse is placed on it.

Related labels:
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