Animation attributes, animation

Source: Internet
Author: User

Animation attributes, animation

Animation-name: Selector name

Animation-duration: time required to complete the animation

Animation-timing-function: animation speed curve

Value Description Test
Linear The animation speed is the same from start to end. Test
Bytes Default value. The animation starts at low speed, then accelerates, and slows down before the end. Test
Callback-in The animation starts at low speed. Test
Timed-out The animation ends at a low speed. Test
Memory-in-out The animation starts and ends at low speed. Test
Cubic-bezr (N,N,N,N) Values in the cubic-bezr function. The possible value is a value ranging from 0 to 1.  
JavaScript Syntax: Object. Style. animationTimingFunction = "linear"  

Animation-delay: latency before the animation starts

Animation-iteration-count: Number of playbacks

Animation-direction: whether to play the animation in turn

Value Description Test
Normal Default value. The animation should be played normally. Test
Alternate The animation should be played in turn in reverse playback. Test
CSS syntax Animation-direction: normal | alternate;  

 

Case:

<! DOCTYPE html> 

  

 

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.