Welcome to the Complete CSS Keyframe Animation Collection a curated, practical library of ready-made CSS animations you can paste into your projects immediately. The gallery features dozens of effects: bounce, fade, roll, slide, swing, swirl, rotate, and an extensive set of scale in/out variations (including horizontal and vertical variants). Each animation is displayed as a live demo so you can see the motion in context, and every card includes a one-click Copy Code button that copies a complete CSS snippet (class + @keyframes) to your clipboard.
/* CSS for: Bounce Out Bottom */
.box-animation.Bounce-Out-Bottom h3 { animation: BounceOutBottom 1.8s cubic-bezier(.215,.61,.355,1) both infinite; }
@keyframes BounceOutBottom { 0%{ transform: translateY(0) scale(1); opacity:1;} 20%{ transform: translateY(-10px) scale(1.02);} 100%{ transform: translateY(200%) scale(.6); opacity:0;} }
/* CSS for: Bounce Out Forward */
.box-animation.Bounce-Out-Forward h3 { animation: BounceOutForward 1.8s ease both infinite; transform-origin:center; }
@keyframes BounceOutForward { 0%{ transform: translateZ(0) scale(1); opacity:1;} 100%{ transform: translateZ(400px) scale(.4); opacity:0;} }
/* CSS for: Bounce Out Left */
.box-animation.Bounce-Out-Left h3 { animation: BounceOutLeft 1.8s ease both infinite; }
@keyframes BounceOutLeft { 0%{ transform: translateX(0) scale(1); opacity:1;} 100%{ transform: translateX(-150%) scale(.5); opacity:0;} }
/* CSS for: Bounce Out Right */
.box-animation.Bounce-Out-Right h3 { animation: BounceOutRight 1.8s ease both infinite; }
@keyframes BounceOutRight { 0%{ transform: translateX(0) scale(1); opacity:1;} 100%{ transform: translateX(150%) scale(.5); opacity:0;} }
/* CSS for: Fade Out Backward */
.box-animation.Fade-Out-Backward h3 { animation: FadeOutBackward 1.8s ease both infinite; transform-origin:center; }
@keyframes FadeOutBackward { 0%{ opacity:1; transform: translateZ(0) scale(1);} 100%{ opacity:0; transform: translateZ(-300px) scale(.6);} }
/* CSS for: Bounce Out Top */
.box-animation.Bounce-Out-Top h3 { animation: BounceOutTop 1.8s cubic-bezier(.215,.61,.355,1) both infinite; }
@keyframes BounceOutTop { 0%{ transform: translateY(0) scale(1); opacity:1;} 100%{ transform: translateY(-200%) scale(.6); opacity:0;} }
/* CSS for: Fade Out Bottom */
.box-animation.Fade-Out-Bottom h3 { animation: FadeOutBottom 1.6s ease both infinite; }
@keyframes FadeOutBottom { 0%{ opacity:1; transform: translateY(0);} 100%{ opacity:0; transform: translateY(80px);} }
/* CSS for: Fade Out Center */
.box-animation.Fade-Out-Center h3 { animation: FadeOutCenter 1.6s ease both infinite; }
@keyframes FadeOutCenter { 0%{ opacity:1; transform: scale(1);} 100%{ opacity:0; transform: scale(.2);} }
/* CSS for: Fade Out Forward */
.box-animation.Fade-Out-Forward h3 { animation: FadeOutForward 1.8s ease both infinite; transform-origin:center; }
@keyframes FadeOutForward { 0%{ opacity:1; transform: translateZ(0);} 100%{ opacity:0; transform: translateZ(300px) scale(.6);} }
/* CSS for: Fade Out Left */
.box-animation.Fade-Out-Left h3 { animation: FadeOutLeft 1.6s ease both infinite; }
@keyframes FadeOutLeft { 0%{ opacity:1; transform: translateX(0);} 100%{ opacity:0; transform: translateX(-100px);} }
/* CSS for: Fade Out Right */
.box-animation.Fade-Out-Right h3 { animation: FadeOutRight 1.6s ease both infinite; }
@keyframes FadeOutRight { 0%{ opacity:1; transform: translateX(0);} 100%{ opacity:0; transform: translateX(100px);} }
/* CSS for: Fade Out Top */
.box-animation.Fade-Out-Top h3 { animation: FadeOutTop 1.6s ease both infinite; }
@keyframes FadeOutTop { 0%{ opacity:1; transform: translateY(0);} 100%{ opacity:0; transform: translateY(-100px);} }
/* CSS for: Roll Out Bottom */
.box-animation.Roll-Out-Bottom h3 { animation: RollOutBottom 1.8s cubic-bezier(.4,.0,.2,1) both infinite; }
@keyframes RollOutBottom { 0%{ transform: rotate(0deg) translateY(0); opacity:1;} 100%{ transform: rotate(540deg) translateY(200px); opacity:0;} }
/* CSS for: Roll Out Left */
.box-animation.Roll-Out-Left h3 { animation: RollOutLeft 1.8s cubic-bezier(.4,.0,.2,1) both infinite; }
@keyframes RollOutLeft { 0%{ transform: rotate(0deg) translateX(0); opacity:1;} 100%{ transform: rotate(-540deg) translateX(-200px); opacity:0;} }
/* CSS for: Roll Out Right */
.box-animation.Roll-Out-Right h3 { animation: RollOutRight 1.8s cubic-bezier(.4,.0,.2,1) both infinite; }
@keyframes RollOutRight { 0%{ transform: rotate(0deg) translateX(0); opacity:1;} 100%{ transform: rotate(540deg) translateX(200px); opacity:0;} }
/* CSS for: Roll Out Top */
.box-animation.Roll-Out-Top h3 { animation: RollOutTop 1.8s cubic-bezier(.4,.0,.2,1) both infinite; }
@keyframes RollOutTop { 0%{ transform: rotate(0deg) translateY(0); opacity:1;} 100%{ transform: rotate(-540deg) translateY(-200px); opacity:0;} }
/* CSS for: Scale Out Bottom */
.box-animation.Scale-Out-Bottom h3 { animation: ScaleOutBottom 1.6s ease both infinite; }
@keyframes ScaleOutBottom { 0%{ transform: scale(1) translateY(0); opacity:1;} 100%{ transform: scale(0) translateY(200px); opacity:0;} }
/* CSS for: Scale Out Center */
.box-animation.Scale-Out-Center h3 { animation: ScaleOutCenter 1.6s ease both infinite; }
@keyframes ScaleOutCenter { 0%{ transform: scale(1); opacity:1;} 100%{ transform: scale(0); opacity:0;} }
/* CSS for: Slide Out Right */
.box-animation.Slide-Out-Right h3 { animation: SlideOutRight 1.6s ease-in-out both infinite; }
@keyframes SlideOutRight { 0%{ transform: translateX(0); opacity:1;} 100%{ transform: translateX(120%); opacity:0;} }
/* CSS for: Slide Out Top */
.box-animation.Slide-Out-Top h3 { animation: SlideOutTop 1.6s ease-in-out both infinite; }
@keyframes SlideOutTop { 0%{ transform: translateY(0); opacity:1;} 100%{ transform: translateY(-120%); opacity:0;} }
/* CSS for: Swing Out Backward Bottom */
.box-animation.Swing-Out-Backward-Bottom h3 { animation: SwingOutBackward 1.6s ease both infinite; transform-origin:center; }
@keyframes SwingOutBackward { 0%{ transform: rotate(0deg) translate(0); opacity:1;} 60%{ transform: rotate(10deg) translateY(-6px);} 100%{ transform: rotate(90deg) translateY(-200px); opacity:0;} }
/* CSS for: Swing Out Backward Left */
.box-animation.Swing-Out-Backward-Left h3 { animation: SwingOutBackward 1.6s ease both infinite; transform-origin:center; }
@keyframes SwingOutBackward { 0%{ transform: rotate(0deg) translate(0); opacity:1;} 60%{ transform: rotate(10deg) translateY(-6px);} 100%{ transform: rotate(90deg) translateY(-200px); opacity:0;} }
/* CSS for: Swing Out Backward Right */
.box-animation.Swing-Out-Backward-Right h3 { animation: SwingOutBackward 1.6s ease both infinite; transform-origin:center; }
@keyframes SwingOutBackward { 0%{ transform: rotate(0deg) translate(0); opacity:1;} 60%{ transform: rotate(10deg) translateY(-6px);} 100%{ transform: rotate(90deg) translateY(-200px); opacity:0;} }
/* CSS for: Swing Out Backward Top */
.box-animation.Swing-Out-Backward-Top h3 { animation: SwingOutBackward 1.6s ease both infinite; transform-origin:center; }
@keyframes SwingOutBackward { 0%{ transform: rotate(0deg) translate(0); opacity:1;} 60%{ transform: rotate(10deg) translateY(-6px);} 100%{ transform: rotate(90deg) translateY(-200px); opacity:0;} }
/* CSS for: Swing Out Forward Bottom */
.box-animation.Swing-Out-Forward-Bottom h3 { animation: SwingOutForward 1.6s ease both infinite; transform-origin:center; }
@keyframes SwingOutForward { 0%{ transform: rotate(0deg) translateZ(0); opacity:1;} 100%{ transform: rotate(-90deg) translateZ(300px) scale(.5); opacity:0;} }
/* CSS for: Swing Out Forward Left */
.box-animation.Swing-Out-Forward-Left h3 { animation: SwingOutForward 1.6s ease both infinite; transform-origin:center; }
@keyframes SwingOutForward { 0%{ transform: rotate(0deg) translateZ(0); opacity:1;} 100%{ transform: rotate(-90deg) translateZ(300px) scale(.5); opacity:0;} }
/* CSS for: Swing Out Forward Right */
.box-animation.Swing-Out-Forward-Right h3 { animation: SwingOutForward 1.6s ease both infinite; transform-origin:center; }
@keyframes SwingOutForward { 0%{ transform: rotate(0deg) translateZ(0); opacity:1;} 100%{ transform: rotate(-90deg) translateZ(300px) scale(.5); opacity:0;} }
/* CSS for: Swing Out Forward Top */
.box-animation.Swing-Out-Forward-Top h3 { animation: SwingOutForward 1.6s ease both infinite; transform-origin:center; }
@keyframes SwingOutForward { 0%{ transform: rotate(0deg) translateZ(0); opacity:1;} 100%{ transform: rotate(-90deg) translateZ(300px) scale(.5); opacity:0;} }
/* CSS for: Swirl Out Backward Center */
.box-animation.Swirl-Out-Backward-Center h3 { animation: SwirlOutBackward 1.8s ease both infinite; transform-origin:center; }
@keyframes SwirlOutBackward { 0%{ transform: rotate(0deg) translate(0); opacity:1;} 100%{ transform: rotate(720deg) translateY(-160px) scale(.4); opacity:0;} }
/* CSS for: Swirl Out Backward Left */
.box-animation.Swirl-Out-Backward-Left h3 { animation: SwirlOutBackward 1.8s ease both infinite; transform-origin:center; }
@keyframes SwirlOutBackward { 0%{ transform: rotate(0deg) translate(0); opacity:1;} 100%{ transform: rotate(720deg) translateY(-160px) scale(.4); opacity:0;} }
/* CSS for: Swirl Out Forward Center */
.box-animation.Swirl-Out-Forward-Center h3 { animation: SwirlOutForward 1.8s ease both infinite; transform-origin:center; }
@keyframes SwirlOutForward { 0%{ transform: rotate(0deg) translateZ(0); opacity:1;} 100%{ transform: rotate(-720deg) translateZ(220px) scale(.45); opacity:0;} }
/* CSS for: Swirl Out Forward Left */
.box-animation.Swirl-Out-Forward-Left h3 { animation: SwirlOutForward 1.8s ease both infinite; transform-origin:center; }
@keyframes SwirlOutForward { 0%{ transform: rotate(0deg) translateZ(0); opacity:1;} 100%{ transform: rotate(-720deg) translateZ(220px) scale(.45); opacity:0;} }
/* CSS for: Bounce In Backward */
.box-animation.Bounce-In-Backward h3 { animation: BounceIn 1.2s cubic-bezier(.215,.61,.355,1) both infinite; }
@keyframes BounceIn { 0%{ transform: translateY(60px) scale(.9); opacity:0;} 40%{ transform: translateY(-10px) scale(1.02); opacity:1;} 60%{ transform: translateY(5px);} 100%{ transform: translateY(0) scale(1);} }
/* CSS for: Bounce In Bottom */
.box-animation.Bounce-In-Bottom h3 { animation: BounceIn 1.2s cubic-bezier(.215,.61,.355,1) both infinite; }
@keyframes BounceIn { 0%{ transform: translateY(60px) scale(.9); opacity:0;} 40%{ transform: translateY(-10px) scale(1.02); opacity:1;} 60%{ transform: translateY(5px);} 100%{ transform: translateY(0) scale(1);} }
/* CSS for: Bounce In Forward */
.box-animation.Bounce-In-Forward h3 { animation: BounceIn 1.2s cubic-bezier(.215,.61,.355,1) both infinite; }
@keyframes BounceIn { 0%{ transform: translateY(60px) scale(.9); opacity:0;} 40%{ transform: translateY(-10px) scale(1.02); opacity:1;} 60%{ transform: translateY(5px);} 100%{ transform: translateY(0) scale(1);} }
/* CSS for: Bounce In Left */
.box-animation.Bounce-In-Left h3 { animation: BounceIn 1.2s cubic-bezier(.215,.61,.355,1) both infinite; }
@keyframes BounceIn { 0%{ transform: translateY(60px) scale(.9); opacity:0;} 40%{ transform: translateY(-10px) scale(1.02); opacity:1;} 60%{ transform: translateY(5px);} 100%{ transform: translateY(0) scale(1);} }
/* CSS for: Fade In Backward */
.box-animation.Fade-In-Backward h3 { animation: FadeIn 1.2s ease both infinite; }
@keyframes FadeIn { 0%{ opacity:0; transform: translateY(12px) scale(.98);} 100%{ opacity:1; transform: translateY(0) scale(1);} }
/* CSS for: Fade In Bottom */
.box-animation.Fade-In-Bottom h3 { animation: FadeIn 1.2s ease both infinite; }
@keyframes FadeIn { 0%{ opacity:0; transform: translateY(12px) scale(.98);} 100%{ opacity:1; transform: translateY(0) scale(1);} }
/* CSS for: Fade In Center */
.box-animation.Fade-In-Center h3 { animation: FadeIn 1.2s ease both infinite; }
@keyframes FadeIn { 0%{ opacity:0; transform: translateY(12px) scale(.98);} 100%{ opacity:1; transform: translateY(0) scale(1);} }
/* CSS for: Fade In Forward */
.box-animation.Fade-In-Forward h3 { animation: FadeIn 1.2s ease both infinite; }
@keyframes FadeIn { 0%{ opacity:0; transform: translateY(12px) scale(.98);} 100%{ opacity:1; transform: translateY(0) scale(1);} }
/* CSS for: Fade In Left */
.box-animation.Fade-In-Left h3 { animation: FadeIn 1.2s ease both infinite; }
@keyframes FadeIn { 0%{ opacity:0; transform: translateY(12px) scale(.98);} 100%{ opacity:1; transform: translateY(0) scale(1);} }
/* CSS for: Fade In Top */
.box-animation.Fade-In-Top h3 { animation: FadeIn 1.2s ease both infinite; }
@keyframes FadeIn { 0%{ opacity:0; transform: translateY(12px) scale(.98);} 100%{ opacity:1; transform: translateY(0) scale(1);} }
/* CSS for: Roll In Bottom */
.box-animation.Roll-In-Bottom h3 { animation: RollIn 1.6s cubic-bezier(.2,.7,.2,1) both infinite; }
@keyframes RollIn { 0%{ transform: rotate(-120deg) translateY(200px); opacity:0;} 60%{ transform: rotate(10deg) translateY(-10px); opacity:1;} 100%{ transform: rotate(0deg) translateY(0); opacity:1;} }
/* CSS for: Roll In Left */
.box-animation.Roll-In-Left h3 { animation: RollIn 1.6s cubic-bezier(.2,.7,.2,1) both infinite; }
@keyframes RollIn { 0%{ transform: rotate(-120deg) translateY(200px); opacity:0;} 60%{ transform: rotate(10deg) translateY(-10px); opacity:1;} 100%{ transform: rotate(0deg) translateY(0); opacity:1;} }
/* CSS for: Scale In Backward Bottom */
.box-animation.Scale-In-Backward-Bottom h3 { animation: ScaleIn 1.6s ease both infinite; }
@keyframes ScaleIn { 0%{ transform: scale(.2) translateY(40px); opacity:0;} 60%{ transform: scale(1.05); opacity:1;} 100%{ transform: scale(1) translateY(0); opacity:1;} }
/* CSS for: Scale In Backward Center */
.box-animation.Scale-In-Backward-Center h3 { animation: ScaleIn 1.6s ease both infinite; }
@keyframes ScaleIn { 0%{ transform: scale(.2) translateY(40px); opacity:0;} 60%{ transform: scale(1.05); opacity:1;} 100%{ transform: scale(1) translateY(0); opacity:1;} }
/* CSS for: Scale In Backward Top */
.box-animation.Scale-In-Backward-Top h3 { animation: ScaleIn 1.6s ease both infinite; }
@keyframes ScaleIn { 0%{ transform: scale(.2) translateY(40px); opacity:0;} 60%{ transform: scale(1.05); opacity:1;} 100%{ transform: scale(1) translateY(0); opacity:1;} }
/* CSS for: Scale In Forward Top */
.box-animation.Scale-In-Forward-Top h3 { animation: ScaleIn 1.6s ease both infinite; }
@keyframes ScaleIn { 0%{ transform: scale(.2) translateY(40px); opacity:0;} 60%{ transform: scale(1.05); opacity:1;} 100%{ transform: scale(1) translateY(0); opacity:1;} }
/* CSS for: Scale Out Horizontal-Center */
.box-animation.Scale-Out-Horizontal-Center h3 { animation: ScaleOutHorizontalCenter 1.6s ease both infinite; transform-origin:center; }
@keyframes ScaleOutHorizontalCenter { 0%{ transform: scaleX(1); opacity:1;} 100%{ transform: scaleX(0); opacity:0;} }
/* CSS for: Scale Out Horizontal-Left */
.box-animation.Scale-Out-Horizontal-Left h3 { animation: ScaleOutHorizontalLeft 1.6s ease both infinite; transform-origin:left center; }
@keyframes ScaleOutHorizontalLeft { 0%{ transform: scaleX(1); opacity:1;} 100%{ transform: scaleX(0); translateX(-40px); opacity:0;} }
/* CSS for: Scale Out Horizontal-Right */
.box-animation.Scale-Out-Horizontal-Right h3 { animation: ScaleOutHorizontalRight 1.6s ease both infinite; transform-origin:right center; }
@keyframes ScaleOutHorizontalRight { 0%{ transform: scaleX(1); opacity:1;} 100%{ transform: scaleX(0); translateX(40px); opacity:0;} }
/* CSS for: Scale Out Left */
.box-animation.Scale-Out-Left h3 { animation: ScaleOutLeft 1.6s ease both infinite; transform-origin:left center; }
@keyframes ScaleOutLeft { 0%{ transform: scale(1) translateX(0); opacity:1;} 100%{ transform: scale(.2) translateX(-120px); opacity:0;} }
/* CSS for: Scale Out Right */
.box-animation.Scale-Out-Right h3 { animation: ScaleOutRight 1.6s ease both infinite; transform-origin:right center; }
@keyframes ScaleOutRight { 0%{ transform: scale(1) translateX(0); opacity:1;} 100%{ transform: scale(.2) translateX(120px); opacity:0;} }
/* CSS for: Scale Out Top */
.box-animation.Scale-Out-Top h3 { animation: ScaleOutTop 1.6s ease both infinite; transform-origin:center top; }
@keyframes ScaleOutTop { 0%{ transform: scale(1) translateY(0); opacity:1;} 100%{ transform: scale(0) translateY(-120px); opacity:0;} }
/* CSS for: Scale Out Vertical-Bottom */
.box-animation.Scale-Out-Vertical-Bottom h3 { animation: ScaleOutVerticalBottom 1.6s ease both infinite; transform-origin:center bottom; }
@keyframes ScaleOutVerticalBottom { 0%{ transform: scaleY(1); opacity:1;} 100%{ transform: scaleY(0); translateY(40px); opacity:0;} }
/* CSS for: Scale Out Vertical-Center */
.box-animation.Scale-Out-Vertical-Center h3 { animation: ScaleOutVerticalCenter 1.6s ease both infinite; transform-origin:center; }
@keyframes ScaleOutVerticalCenter { 0%{ transform: scaleY(1); opacity:1;} 100%{ transform: scaleY(0); opacity:0;} }
/* CSS for: Scale Out Vertical-Top */
.box-animation.Scale-Out-Vertical-Top h3 { animation: ScaleOutVerticalTop 1.6s ease both infinite; transform-origin:center top; }
@keyframes ScaleOutVerticalTop { 0%{ transform: scaleY(1); opacity:1;} 100%{ transform: scaleY(0); translateY(-40px); opacity:0;} }
/* CSS for: Slide Out Bottom */
.box-animation.Slide-Out-Bottom h3 { animation: SlideOutBottom 1.6s ease-in-out both infinite; }
@keyframes SlideOutBottom { 0%{ transform: translateY(0); opacity:1;} 100%{ transform: translateY(120%); opacity:0;} }
/* CSS for: Scale Out Vertical-Bottom */
.box-animation.Scale-Out-Vertical-Bottom h3 { animation: ScaleOutVerticalBottom 1.6s ease both infinite; transform-origin:center bottom; }
@keyframes ScaleOutVerticalBottom { 0%{ transform: scaleY(1); opacity:1;} 100%{ transform: scaleY(0); translateY(40px); opacity:0;} }