@-webkit-keyframes roll {
100% { -webkit-transform: rotate(360deg); }
}
What does the “@” and “100%” mean?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
These are CSS3 rules that have been defined by the webkit development team, in advance of formal acceptance as part of the CSS3 specification—hence the inclusion of -webkit in the selector. The @ indicates that this is a CSS rule, rather than a standard selector. @-webkit-keyframes is for specifying keyframes for CSS visual effect animation properties.
You can define as many keyframes as you like for the animation; in the case you have given only the final keyframe (when 100% of the animation is complete) has been defined. The full syntax and documentation for these rules can be found here.
For instance, if you wanted the animation to start slowly and then accelerate, while starting and ending smoothly, you could set intermediate keyframes that had non-linear steps in the degree of rotation: