<meta name="author" content="Sebastien Rousseau"> <meta name="description" content="Optional animations module shipped with Skeletonic Stylus v2.0.0 — 45 keyframes across 9 families, all behind prefers-reduced-motion."> <meta name="keywords" content="css animations, keyframes, prefers-reduced-motion, bounce, pulse, fade">

45 keyframes across 9 families, every one gated behind <code>@media (prefers-reduced-motion: no-preference)</code>. Hover any card to replay. Click a card to copy the class.

<noscript>

JavaScript is disabled. The animation gallery needs JS for the hover-replay and copy-class interactions, but every animation itself is pure CSS — pulling <code>skeletonic-animations.min.css</code> into your page and applying any class on this page works without any script.

</noscript>
bounce Distracting
pulse Distracting
shake Distracting
wobble Distracting
flash Distracting
heartbeat Distracting
jelly Distracting
rubber Distracting
swing Distracting
tada Distracting
chameleonbackground Distracting
Aa chameleontext Distracting
fadeIn Fading
fadeInDown Fading
fadeInUp Fading
fadeInLeft Fading
fadeInRight Fading
fadeOut Fading
fadeOutDown Fading
fadeOutUp Fading
fadeOutLeft Fading
fadeOutRight Fading
flip Flipping
flipInHorizontal Flipping
flipInVertical Flipping
flipOutHorizontal Flipping
flipOutVertical Flipping
slideInDown Sliding
slideInUp Sliding
slideInLeft Sliding
slideInRight Sliding
slideOutDown Sliding
slideOutUp Sliding
slideOutLeft Sliding
slideOutRight Sliding
spinLeft Rotating
spinRight Rotating
zoomIn Zooming
zoomOut Zooming
rollIn Rolling
rollOut Rolling
popIn Pop
popOut Pop
vanishIn Vanishing
vanishOut Vanishing
<script src="/js/animations.js" defer></script>

Usage

Pull the optional animations bundle into your page (this site does exactly that — see the <code></code> tag in the head when this page is loaded):

<code class="language-html"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@sebastienrousseau/skeletonic-stylus@3.0.0/css/animations/skeletonic-animations.min.css"> </code></pre> 

Apply any class from the gallery above and it works:

<code class="language-html"><div class="bounce">Bounces once over 1 s.</div> <div class="spinLeft">Spins forever.</div> <div class="fadeIn">Fades in over 1 s and stays visible.</div> </code></pre> 

Every animation class ships with sensible defaults — <code>1 s</code> duration, <code>ease-in-out</code> timing, <code>both</code> fill mode, and <code>1</code> iteration for one-shots, <code>infinite</code> for the continuous loops (<code>pulse</code>, <code>heartbeat</code>, <code>spinLeft</code>, <code>spinRight</code>, <code>chameleonbackground</code>, <code>chameleontext</code>).

To customise:

<code class="language-css">.my-target { animation-duration: 600ms; /* faster */ animation-iteration-count: infinite; /* loop */ } </code></pre> 

Single declaration, WCAG 2.3.3 compliant — every keyframe sits inside <code>@media (prefers-reduced-motion: no-preference)</code>, so a user who has set "reduce motion" at the OS level sees no motion at all.

See accessibility notes →

Back to the top ↑