← All open source projects

Animate.css

animate-css/animate.css

Animate.css is a CSS library of ready-made animations applied to elements through classes and CSS variables.

Forks 15,983
Author animate-css
Language CSS
License NOASSERTION
Synced 2026-06-10

What it is

Animate.css is a library of ready-made CSS animations. It works by including the CSS file and adding `animate__animated` plus a specific effect class to an element.

The project is useful for quick interface effects: revealing a block, highlighting a button, animating a card, or adding a decorative transition. It is not a full animation system, but a box of reusable CSS effects.

What is inside

The repository contains CSS animations, installation instructions for npm/yarn, usage rules, accessibility notes, and the Hippocratic License. Basic usage does not require JavaScript.

A practical flow is to choose an effect, add classes, tune duration or delay through CSS variables, and ensure motion is not harmful for users who prefer reduced motion.

Applying an effect

This snippet shows the main usage pattern: classes enable animation and choose the effect.

Language: HTML
<h1 class="animate__animated animate__fadeInUp">Hello</h1>

Strengths and limits

The strength is speed. Simple effects do not require writing keyframes or building an animation collection from scratch.

The limitation is taste and accessibility. Ready effects are easy to overuse. Serious interfaces should use motion to clarify, respect `prefers-reduced-motion`, and avoid decorative noise.