Based on the CSS 3 image hover zoom effect, CSS3 hover zoom

Source: Internet
Author: User

Based on the CSS 3 image hover zoom effect, CSS3 hover zoom

Today, we are going to share a cool CSS3 image special effect, which allows you to hover and zoom over the image with a mouse over it, and make the image glow around it. With a black background, this CSS3 image is more stereoscopic and suitable for displaying product images.

Download Online Preview source code

Implementation code.

Html code:

  <div id="image-container">            <div class="img" id="img-1">                <div class="mask">                </div>                            </div>            <div class="img" id="img-2">                <div class="mask">                </div>                            </div>            <div class="img" id="img-3">                <div class="mask" id="mask-1">                </div>                <div class="mask" id="mask-2">                </div>                            </div>            <div class="img" id="img-4">                <div class="mask">                </div>                            </div>            <div class="img" id="img-5">                <div class="mask">                </div>                            </div>            <div class="img" id="img-6">                <div class="mask">                </div>                            </div>            <div class="clearfix">            </div>        </div>        <div class="clearfix">        </div>        <br>        <div id="warning" style="margin-top: 20px; text-align: center;">        </div>

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.