Skip to main content

Animation

Utilities for animating elements with CSS animations.

CSS Property:animation
Classes:5

Animation Classes

ClassCSS
animate-noneanimation: none;
animate-spinanimation: spin 1s linear infinite;
animate-pinganimation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
animate-pulseanimation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
animate-bounceanimation: bounce 1s infinite;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[animation:value]

Responsive Variants

Apply animation utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:animate-none
768px+md:md:animate-none
1024px+lg:lg:animate-none
1280px+xl:xl:animate-none
1536px+2xl:2xl:animate-none