CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS @keyframes Rule

CSS @keyframes Rule

 

 

The @keyframes rule is used to specify the animation code. It is created by gradually changing from one set of CSS styles to another. During the animation, we can change the set of CSS styles many times. We can style change will happen in percent, or with the keywords from and to. 0% is the beginning of the animation, and 100% is when the animation is complete.

 

Syntax:-

 

Its syntax is:- @keyframes animationname {keyframes-selector {css-styles;}}

 

Further Explanation:-

 

Value Description
animationname Required. Defines the name of the animation.
keyframes-selector Required. Percentage of the animation duration.
css-styles Required. One or more legal CSS style properties

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS