Animate.css: an awesome css3animation library, and Animate.css css3

Source: Internet
Author: User

Animate.css: an awesome css3animation library, and Animate.css css3

Animate.cssis a very awesome css3animation library for cross-page viewers. It is easy to import an animate.min.css with just a simple example,

Simple use 1 first introduce the style of the animate css file

Cdn files

 

Download to local

 

  

2. Specify a style for the specified Element

We can see that there are three classes, the first of which is the basic style, all the elements to produce the animation are required, and the second infinite is optional. If this class is added, the animation will be executed cyclically, and the third is the animation effect. Currently, animations have many animation effects. For details, click here to view www.siyouku.cn/wenqing/animation.

   
 <div id="demoimg" class="animated infinite bounce">      $('#demoimg').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething);

  

4. Sometimes we need to customize some animation settings. We can implement them using the following code:
# Demoimg {-vendor-animation-duration: 3 s; // animation duration-vendor-animation-delay: 2 s; // animation Delay Time-vendor-animation-iteration-count: infinite; // Number of animation executions, which is always executed}

  

Related Links

Animation demo: www.siyouku.cn/wenqing/animation

Github: github.com/daneden/animate.css

Permanent update address: www.siyouku.cn/article/6827.html

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.