Based on animation.css, animation rotation and special effects

Source: Internet
Author: User

Based on animation.css, animation rotation and special effects

Share an animation rotation effect based on animation.css. This is a cool animation rotation special effect code based on CSS3. As follows:

Download Online Preview source code

Implementation code.

Html code:

 <div class="wrap">        <div class="mod_bg">            <div class="bg1"></div>            <div class="bg2"></div>            <div class="bg3">                <div class="bg3_1"></div>                <div class="bg3_2"></div>                <div class="bg3_3"></div>            </div>            <div class="bg4"></div>        </div>        <div class="main" id="J_main">            <div class="mod_info1">                <div class="mod_info1__flash mod_info1__f"></div>                <div class="mod_info1__flash1 mod_info1__f"></div>                <div class="mod_info1__flash2 mod_info1__f"></div>                <div class="mod_info1__flash3 mod_info1__f"></div>                <div class="mod_info1__logo1 mod_info1__logoall"></div>                <div class="mod_info1__logo2 mod_info1__logoall"></div>                <div class="mod_info1__logo3 mod_info1__logoall"></div>            </div>        </div>    </div>    <script type="text/javascript">        $('.mod_info2__power3').on('mouseover', function (e) {            $('.mod_info2__power3').addClass('play');        });        $('.mod_info2__power3').on('mouseout', function (e) {            $('.mod_info2__power3').removeClass('play');        });        $('.mod_info2__power1').on('mouseover', function (e) {            $('.mod_info2__power1').addClass('play');        });        $('.mod_info2__power1').on('mouseout', function (e) {            $('.mod_info2__power1').removeClass('play');        });        $('.mod_info2__power2').on('mouseover', function (e) {            $('.mod_info2__power2').addClass('play');        });        $('.mod_info2__power2').on('mouseout', function (e) {            $('.mod_info2__power2').removeClass('play');        });        $('.mod_info2__power4').on('mouseover', function (e) {            $('.mod_info2__power4').addClass('play');        });        $('.mod_info2__power4').on('mouseout', function (e) {            $('.mod_info2__power4').removeClass('play');        });        // setTimeout(function() {        //     $('.mod_info2__power3').addClass('play');        //     $('.mod_info2__power1').addClass('play');        //     $('.mod_info2__power2').addClass('play');        //     $('.mod_info2__power4').addClass('play');        // },1000);        // setTimeout(function() {        //     $('.mod_info2__power3').removeClass('play');        //     $('.mod_info2__power1').removeClass('play');        //     $('.mod_info2__power2').removeClass('play');        //     $('.mod_info2__power4').removeClass('play');        // },4000);    </script>

Via: http://www.w2bc.com/article/49698

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.