CSS3 Animate Basic Properties

Source: Internet
Author: User

Css3animate Property

Property

Describe

Css

Animation

Shorthand properties for all animated properties, except for the Animation-play-state property

Animation:name Duration timing-function Delay Iteration-count

Direction

3

Animation-name

Specifies the name of the @keyframes animation.

Animation-name:keyframename|none

3

Animation-duration

Specifies the seconds or milliseconds spent in completing a cycle. Default is 0;

Animation-duration:time;

3

Animaion-timing--function

Specifies the speed curve of the animation. The default is ease.

3

Animation-delay

Specifies when the animation starts. Default is 0

Animation-delay:time

3

Animation-iteration-count

Specifies the number of times the animation is played. The default is 1.

Animation-iteration-count:n|infinite

3

Animation-direction

Specifies whether the animation will play backwards in the next cycle. The default is normal.

Normal is the default value. The animation should play normally

Alternate animations should rotate backwards

3

Animation-play-state

Specifies whether the animation is running or paused, and the default value is "running".

animation-play-state:paused|running;

Paused: Specifies that animation is paused

Running: Specifies that the animation is playing

3

[Email protected] rules

Grammar:

@keyframe animationname{keyframes-selector{css-styles;}}

Value

Describe

Animationname

Required, define the name of the animation

Keyframes-selector

Necessary. The percentage of the animation duration.

Legal value: 0-100%

From (same as 0%)

to (100% same)

Css-styles

Necessary. One or more legitimate CSS style properties

                                                                                   Freeze Animation

Value

Describe

Animationend

When animation executes the event after the JS call is completed

Animationend

Moz kernel

Webkitanimationend

WebKit kernel

Oaimationend

Opera kernel

Msanimationend

IE kernel

Value

Describe

Transitionend

The event that JS invokes when the transition execution completes

Transitionenf

Moz kernel

Webkittransitionend

WebKit kernel

Otransitionend

Opera kernel

Mstransitionend

IE kernel

These are the basic properties of animate

CSS3 Animate Basic Properties

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.