CSS Keyframe Animations
Browse 189 ready-made CSS @keyframes animations — bounce, fade, roll, scale, swirl, slide, swing, rotate, shake, pulse and more. Hover a card to preview it, click Copy for the code, or open the page for the full details.
Scale Out Horizontal-Center
animation: scale-out-horizontal-center 1s ease 0s 1 normal forwards;Scale Out Horizontal-Left
animation: scale-out-horizontal-left 1s ease 0s 1 normal forwards;Scale Out Horizontal-Right
animation: scale-out-horizontal-right 1s ease 0s 1 normal forwards;Scale Out Vertical-Bottom
animation: scale-out-vertical-bottom 1s ease 0s 1 normal forwards;Scale Out Vertical-Center
animation: scale-out-vertical-center 1s ease 0s 1 normal forwards;Swirl Out Forward Bottom
animation: swirl-out-forward-bottom 1s ease 0s 1 normal forwards;Swirl Out Forward Center
animation: swirl-out-forward-center 1s ease 0s 1 normal forwards;Swirl Out Backward Bottom
animation: swirl-out-backward-bottom 1s ease 0s 1 normal forwards;Swirl Out Backward Center
animation: swirl-out-backward-center 1s ease 0s 1 normal forwards;Swirl Out Backward Right
animation: swirl-out-backward-right 1s ease 0s 1 normal forwards;Swing Out Forward Bottom
animation: swing-out-forward-bottom 1s ease 0s 1 normal forwards;Swing Out Backward Bottom
animation: swing-out-backward-bottom 1s ease 0s 1 normal forwards;Swing Out Backward Right
animation: swing-out-backward-right 1s ease 0s 1 normal forwards;Scale In Forward Horizontal-Center
animation: scale-in-forward-horizontal-center 1s ease 0s 1 normal forwards;Scale In Forward Horizontal-Left
animation: scale-in-forward-horizontal-left 1s ease 0s 1 normal forwards;Scale In Forward Horizontal-Right
animation: scale-in-forward-horizontal-right 1s ease 0s 1 normal forwards;Scale In Forward Vertical-Bottom
animation: scale-in-forward-vertical-bottom 1s ease 0s 1 normal forwards;Scale In Forward Vertical-Center
animation: scale-in-forward-vertical-center 1s ease 0s 1 normal forwards;Scale In Forward Vertical-Top
animation: scale-in-forward-vertical-top 1s ease 0s 1 normal forwards;Scale In Backward Bottom
animation: scale-in-backward-bottom 1s ease 0s 1 normal forwards;Scale In Backward Center
animation: scale-in-backward-center 1s ease 0s 1 normal forwards;Scale In Backward Horizontal-Center
animation: scale-in-backward-horizontal-center 1s ease 0s 1 normal forwards;Scale In Backward Horizontal-Left
animation: scale-in-backward-horizontal-left 1s ease 0s 1 normal forwards;Scale In Backward Horizontal-Right
animation: scale-in-backward-horizontal-right 1s ease 0s 1 normal forwards;Scale In Backward Vertical-Bottom
animation: scale-in-backward-vertical-bottom 1s ease 0s 1 normal forwards;Scale In Backward Vertical-Center
animation: scale-in-backward-vertical-center 1s ease 0s 1 normal forwards;Scale In Backward Vertical-Top
animation: scale-in-backward-vertical-top 1s ease 0s 1 normal forwards;Swirl In Backward Bottom
animation: swirl-in-backward-bottom 1s ease 0s 1 normal forwards;Swirl In Backward Center
animation: swirl-in-backward-center 1s ease 0s 1 normal forwards;Swing In Backward Bottom
animation: swing-in-backward-bottom 1s ease 0s 1 normal forwards;Box Shadow Scale Bottom-Left
animation: box-shadow-scale-bottom-left 1s ease 0s 1 normal forwards;Box Shadow Scale Bottom-Right
animation: box-shadow-scale-bottom-right 1s ease 0s 1 normal forwards;Box Shadow Scale Left-Right
animation: box-shadow-scale-left-right 1s ease 0s 1 normal forwards;Box Shadow Scale Top-Bottom
animation: box-shadow-scale-top-bottom 1s ease 0s 1 normal forwards;Box Shadow Scale Top-Left
animation: box-shadow-scale-top-left 1s ease 0s 1 normal forwards;Box Shadow Scale Top-Right
animation: box-shadow-scale-top-right 1s ease 0s 1 normal forwards;Scale Up Horizontal-Center
animation: scale-up-horizontal-center 1s ease 0s 1 normal forwards;Scale Up Horizontal-Left
animation: scale-up-horizontal-left 1s ease 0s 1 normal forwards;Scale Up Horizontal-Right
animation: scale-up-horizontal-right 1s ease 0s 1 normal forwards;Scale Up Vertical-Bottom
animation: scale-up-vertical-bottom 1s ease 0s 1 normal forwards;Scale Up Vertical-Center
animation: scale-up-vertical-center 1s ease 0s 1 normal forwards;Scale Down Horizontal-Center
animation: scale-down-horizontal-center 1s ease 0s 1 normal forwards;Scale Down Horizontal-Left
animation: scale-down-horizontal-left 1s ease 0s 1 normal forwards;Scale Down Horizontal-Right
animation: scale-down-horizontal-right 1s ease 0s 1 normal forwards;Scale Down Vertical-Bottom
animation: scale-down-vertical-bottom 1s ease 0s 1 normal forwards;Scale Down Vertical-Center
animation: scale-down-vertical-center 1s ease 0s 1 normal forwards;No animations match your search. Try another word or category.
Want to tweak timing, delay or repeat? Open the CSS Keyframe Generator
Frequently Asked Questions
Click Copy on any card. You get a .selector rule with the animation shorthand plus the matching @keyframes block. Paste both into your stylesheet and replace .selector with your own class.
The order is name, duration, timing function, delay, iteration count, direction and fill mode, for example fade-in-top 1s ease 0s 1 normal forwards. Open the generator to change each value and see the result live.
Set the iteration count to infinite. The Continuous & Looping category is already set to loop, and any other animation can loop too.
Animations that only change transform and opacity are handled by the GPU and stay smooth, even on phones. Animating box-shadow forces repaints, so use it sparingly on large elements.
Yes. Wrap animations in @media (prefers-reduced-motion: no-preference) or disable them inside @media (prefers-reduced-motion: reduce) so people who are sensitive to motion are not affected.
