@ Keyframes usage in css3, css3 @ keyframes usage
@ Keyframes in css3:
Translating keyframes into Chinese is a "Key Frame". If you have a little knowledge about flash, you should be familiar with it. It is the same as flash.
We can use it to define related States and thus produce animation effects.
Syntax structure:
@keyframes animationname {keyframes-selector {css-styles;}}
Parameter Parsing:
1. animationname: required. specifies the animation name.
2. keyframes-selector: required to specify the animation duration. It can be in the form of percentages or from.
3.css-styles: required. css style attribute code.
Code example:
<! DOCTYPE html>
The above is a simple animation effect, which is relatively simple. For more information, see relevant reading.
Related reading:
1. @ keyframes refer to the @ keyframes usage section in CSS3.
2. For details about the animation attributes, refer to the detailed usage section of the animation attribute in css3.
The original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 15401.
For more information, see: http://www.softwhy.com/divcss/