SitePoint
Blog
Forum
Library
Login
Join Premium
Toggle sidebar
CSS Animation 101
Toggle community discussions
Close
Content
Bookmarks
Preface
CSS Animation 101
Abstract
1
Welcome
Hello, I’m Donovan
Book structure
Help and support
Need to brush up on your CSS?
Homework
Why animate?
More than words alone
What is animation on the web?
With great power comes great responsibility
Inspiration
Summary
Homework
Creative environments
In the browser
Local development
In summary
Homework
Transitions
Transitions
Transition properties
In summary
Homework
Animations
Animation in the browser
Examples
Transitions vs. Animations
Homework
Transitions in action
Transitions
Example: Button transition
Prefixes and browser compatibility
Homework
Transitions properties
Shorthand vs Longhand
Things transitions don’t work on
Homework
Timing functions
Linear
Ease-in
Ease-out
Ease-in-out
Cubic-bezier
Steps
More examples
Homework
Multiple transitions
Example 1: Fancy button
Example 2: Background reveal
Multiple transitions on a single element
Homework
Transitions and JavaScript
Add or remove classes
Controlling transitions with JavaScript
Let’s recap
Homework
Animations in action
A symbiotic relationship
The animation property
Keyframes
Prefixes
Homework
Animation properties
Using timing functions within keyframes
Homework
Keyframes in action
Things to look out for
Example: Save button wiggle effect
Homework
Multiple animations
Traffic lights
Further reading
Homework
Animation recap
Homework challenge: Traffic lights
Recap: Animations
Putting them together
Homework
Storytelling
Heroes
Example: Scrolling background
Part 1: Background animation
Part 2: Adding the hover transition
Summary
Homework
Star Wars
Transform: Not an animation property
Transform: scale(), translateZ() and rotateY()
SVG, HTML and CSS
Animating the Star and Wars
Making it 3D
The Force Awakens
Homework
Revealing content on scroll
Wow.js
Using Wow.js
Adding “wow” classes
Hiding and showing
Using Animate.css
Using Modernizr
Homework
Accessibility
Make sure content is accessible
Give control
Allow for alternate inputs
Confusion
Don’t make me sick
Accessibility is for everyone’s benefit
Homework
Now you know CSS animation!
CSS Animation cheatsheet
Resources to bookmark
Other tools
Next steps
Don’t be a stranger, now
Level up your CSS animation skills!
Open text modal
Community Questions
Close