CSS Animation Library
Elevate your upcoming website design by incorporating these popular CSS animations.
Entrances Anchor (Entrances)
- Expand Open
- Expand Up
- Flip In X
- Flip In Y
- Rotate In
- Rotate In Down Left
- Rotate In Down Right
- Rotate In Up Left
- Rotate In Up Right
- Slide Down
- Slide Up Expand
- Slide In Left
- Slide In Right
- Slide Up
- Tin In Up
- Tin In Left
- Tin In Right
- Tin In Down
- Zoom In
- Zoom In Down
- Zoom In Left
- Zoom In Right
- Zoom In Up
Exits Anchor (Exits)
- Bounce Out
- Bounce Out Down
- Bounce Out Left
- Bounce Out Right
- Bounce Out Up
- Flip Out X
- Flip Out Y
- Light Speed Out
- Rotate Out
- Rotate Out Down Left
- Rotate Out Down Right
- Rotate Out Up Left
- Rotate Out Up Right
- Tin Out Down
- Tin Out Left
- Tin Out Right
- Tin Out Up
- Zoom Out
Attention Anchor (attention)
Container Distort Anchor (Container Distort)
Responsible Animation Anchor (Responsible Animation)
Consider the impact that animation can have on people with disabilities. For some, animation can be a distraction; for others, it can cause discomfort or illness. In severe cases, it can pose serious danger, like triggering seizures in individuals with photosensitivity. By following these guidelines, we can ensure that our digital experiences are both enjoyable and safe for everyone!
- Any web animation that loops must include a pause button. There are no exceptions here. In applications where this cannot be controlled, such as email, animation should be avoided.
- Animations that occur once when interacting with a web page are exempt from having a pause button if they do not last for more than 5 seconds and are not excessive in their motion. However, developers should always exercise caution and honor user settings by including
prefers-reduced-motionto help reduce or stop animation where needed. Please visit the Mozilla Developer Network for more details about this useful media query. - Animations that flash more than 3 times per second are not allowed on any websites or applications, as they may induce seizures. A pause button will be ineffective here. If you suspect that an animation may be a risk, please bring this to the attention of the Accessibility Team.