CSS Visual ToolsLesson 77Free preview
Animation Generator
This lesson is part of Web Developer Tools · All levels
Summary
Animation generators help create CSS animations from keyframes to duration and repetition properties. You can set the animation stage, timing, direction, and fill mode and then copy the code that's generated. Animation should be used to clarify interactions, rather than interrupt the reading of content.
Key points
- @keyframes defines the animation stage from 0% to 100%
- Animation-name connects elements with keyframes
- Animation-duration sets the length of one animation cycle
- Animation-iteration-count: infinite makes animation repeat itself continuously
- Animation-fill-mode: forwards retain the final style after the animation is completed
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.