CSS3 Animation Module

Source: Internet
Author: User

Animation module

Animation format

1. Tell the system which animation to perform

Animation-name: Animation name

3. Tell the system how long the animation lasts

Animation-duration: Time

2. Tell the system to create an animation with the name (animation name)

@keyframe Animation Name {

From (0%) {

margin-left:0;

}

to (50%) {

margin-left:500px;

}

}

Animation properties

Animation-delay tells the system to delay how many seconds to perform the animation

Animation-timing-function Set Animation speed curve

ANIMATION-ITERATION-COUNT Specifies the number of animation plays, default is 1

Animation-direcyion Specifies whether the animation will play backwards in the next cycle. The default normal, and the other is alternate, means that the animation plays backwards

ANIMATION-PLAY-STATE Specifies whether the animation executes or pauses the default running, and the other is a paused that pauses

There are three states of the animation: waiting for the state to execute State end state

Animation-fill-mode styles that specify the animation wait state and end state

None default state forwards style that keeps the last frame of the animation in the end state

Backwards lets the animation's wait state be the style of the animation first frame both forwards+backwards

Animation ligatures

Animation: Animation name animation time long animation motion speed delay time execution times round-trip animation;

CSS3 Animation Module

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.