Home > Web Front-end > HTML Tutorial > Based on CSS3 image hover zoom effect_html/css_WEB-ITnose

Based on CSS3 image hover zoom effect_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:47:28
Original
1071 people have browsed it

Today we are going to share a cool CSS3 image effect. This image effect can use the mouse to slide over the image to make it hover and enlarge, and make the image have a glowing effect. Combined with the black background, this CSS3 image hover zoom effect looks more three-dimensional and atmospheric, which is very suitable for displaying product images.

Online preview Source code download

The implemented code.

html code:

  <div id="image-container">            <div class="img" id="img-1">                <div class="mask">                </div>                <img src="images/01.jpg">            </div>            <div class="img" id="img-2">                <div class="mask">                </div>                <img src="images/07.jpg">            </div>            <div class="img" id="img-3">                <div class="mask" id="mask-1">                </div>                <div class="mask" id="mask-2">                </div>                <img src="images/05.jpg">            </div>            <div class="img" id="img-4">                <div class="mask">                </div>                <img src="images/04.jpg">            </div>            <div class="img" id="img-5">                <div class="mask">                </div>                <img src="images/06.jpg">            </div>            <div class="img" id="img-6">                <div class="mask">                </div>                <img src="images/08.jpg">            </div>            <div class="clearfix">            </div>        </div>        <div class="clearfix">        </div>        <br>        <div id="warning" style="margin-top: 20px; text-align: center;">        </div>
Copy after login

via: http://www.w2bc.com/Article/29682

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