43 CSS Animations & Motion Effects — Free Code Collections

Motion makes interfaces feel alive. This collection covers the full range of CSS animations and motion effects — from subtle hover transitions to full scroll-triggered sequences, built with pure CSS wherever possible.

Build UI like this from scratch: Flexbox, Grid, animations & responsive CSS

ZTM · The CSS Bootcamp · 30‑day money-back guarantee · Affiliate link

10% off at checkout with code
Check ZTM Course

Loaders & Spinners

4 collections
20 CSS Loading Animations preview
16 Pure CSS4 Light JS13 new

20 CSS Loading Animations

20 hand-coded CSS loading animations for real product contexts — e-commerce checkout, video streaming buffering, AI chat thinking dots, fintech transactions, package delivery, healthcare, music vinyl, boarding passes, restaurant kitchens, weather radar, and real estate. Drop-in ready, scoped, prefers-reduced-motion guarded.

Published Updated on
15 CSS Shimmer Skeleton Cards preview
14 Pure CSS1 Light JS

15 CSS Shimmer Skeleton Cards

15 production-ready CSS shimmer skeleton cards for loading states — Instagram-style profile cards, e-commerce product grids, data tables, SaaS dashboard widgets, blog article lists, social comment sections, search results, mobile feeds, form inputs, hero banners, chat bubbles, masonry galleries, dropdown notifications, and a dark-mode toggle skeleton. GPU-accelerated transform-only shimmer, zero-CLS placeholders, WCAG accessible with aria-busy + role='status'.

Published
25 CSS Spinners preview
25 Pure CSS

25 CSS Spinners

25 hand-coded CSS spinners covering every production loading-spinner pattern developers reach for — neon arc with glowing leading-edge dot, dual counter-rotate ring spinner, dot chase orbit (Material Design indeterminate pattern), gradient conic sweep, heartbeat pulse, audio equalizer wave bars, stacked ring helix, morphing square-to-circle, comet trail with fading tail, DNA double helix, folding cube 3D grid (SpinKit's signature pattern), ripple pulse ring (concentric circles), clock tick sweep, infinity loop stroke, bouncing elastic dots, spiral galaxy, glassmorphism loader (backdrop-filter pattern), cyberpunk segmented ring (gamer/Web3 aesthetic), breathing circle, particle scatter burst, retro TV static noise loader, liquid blob morphing, progress arc fill (determinate variant), matrix rain column (cyberpunk vertical), and aurora orb. All <strong>100% pure CSS</strong> — zero JavaScript, zero libraries (no react-spinners, no react-loading-skeleton, no SpinKit copy, no loading.io snippet). Every spinner uses CSS <code>@keyframes</code> animating <code>transform</code> + <code>opacity</code> only (GPU-accelerated, INP-safe — no layout thrash). Every demo includes proper <code>role="status"</code> + <code>aria-live="polite"</code> markup so screen readers announce loading state correctly, respects <code>prefers-reduced-motion</code>, uses scoped <code>.sp-NN__*</code> class names so multiple spinners coexist on the same page without style bleed, MIT-licensed. Drop into React, Vue, Astro, Svelte, Rails ERB, plain HTML, WordPress — zero framework dependencies.

Published
20 CSS Loaders preview
20 Pure CSS

20 CSS Loaders

20 hand-coded CSS loaders covering every production loading-indicator pattern developers reach for — spinning ring loader (the canonical Material Design pattern), dot chase loader, skeleton screen loader (Facebook/LinkedIn/YouTube content-shimmer pattern), progress bar loader with shimmer, bouncing balls loader, DNA double-helix loader, glitch flicker loader, heartbeat pulse loader, circular progress with percentage, liquid fill loader, neon arc spinner, cube flip 3D loader, audio wave bars loader, morphing square loader, orbit planet loader, typing dots indicator (chat/messaging pattern), staircase step loader, infinity loop loader, gradient conic spinner (Instagram-stories pattern), and particle burst loader. All <strong>100% pure CSS</strong> — zero JavaScript, zero libraries (no react-loading-skeleton, no react-spinners, no SpinKit copy, no loading.io snippet). Every loader uses CSS <code>@keyframes</code> animation on <code>transform</code> + <code>opacity</code> only (GPU-accelerated, INP-safe — no layout thrash). Every demo includes proper <code>role="status"</code> + <code>aria-live="polite"</code> markup so screen readers announce "loading" state correctly. Every demo respects <code>prefers-reduced-motion</code>, uses scoped <code>.ld-NN__*</code> class names so multiple loaders coexist on the same page without style bleed, MIT-licensed. Drop into React, Vue, Astro, Svelte, Rails ERB, plain HTML, WordPress — zero framework dependencies.

Published

Text & Typing Effects

8 collections
30 Tailwind CSS Text Hover Effects preview
25 Pure Tailwind5 Tailwind + JS

30 Tailwind CSS Text Hover Effects

30 hand-coded Tailwind CSS text hover effects for marketing hero headlines, agency navigation, editorial indexes and product wordmarks. Covers animated underlines, gradient and liquid bg-clip-text fills, glitch and scramble decrypt, neon flicker, metallic shimmer, 3D pop and perspective tilt, staggered letter waves, spotlight and cursor-following shadows, blur-to-focus, variable font weight, marquee tickers, SVG water ripple and clip-path reveals.

Published
20 Tailwind CSS Text Gradient preview
18 Pure Tailwind2 Tailwind + JS

20 Tailwind CSS Text Gradient

20 hand-coded Tailwind CSS text gradient effects for landing-page hero headings, image-free navbar wordmarks, active nav links, gradient CTA and gradient-border buttons, and editorial type specimens. Covers animated moving gradients, glowing Web3 neon, metallic gold, cyberpunk HUD, pastel and rainbow multi-color fills, radial and vertical gradients, gradient text on glass, outline-stroke combinations, multiline paragraph wrapping, a bg-clip-text utility cheat sheet, an @supports fallback, and a dark-mode toggle.

Published
Newsletter

Enjoying these demos? Get new ones by email.

A short email when a new collection ships. Unsubscribe any time.

at

Almost there: check your inbox to confirm.Manage

30 CSS Text Animations preview
24 Pure CSS6 Light JS5 new

30 CSS Text Animations

30 CSS text animation techniques spanning scroll-driven reveals, per-letter and word-by-word entrances, and hover-triggered effects. Includes typewriter and unscramble sequences, gradient and rainbow color waves, wavy and marquee motion, 3D flip and extrude typography, neon flicker, liquid fill, animated stroke drawing, metallic and holographic foil, spotlight and smoky reveals, variable-font weight shifts, and a vertical rotating word wheel.

Published Updated on
30 CSS Text Hover Effects preview
25 Pure CSS5 Light JS

30 CSS Text Hover Effects

30 hand-coded CSS text hover effects for marketing hero headlines, editorial indexes, agency navigation and product wordmarks. Covers animated underlines, liquid fills, background-clip gradient reveals, glitch and scramble decrypt, neon flicker, metallic shimmer, 3D pop and perspective tilt, staggered letter waves, spotlight and cursor-tracking shadows, blur-to-focus, variable font weight, marquee speed-up, SVG water ripple and clip-path reveals.

Published
20 CSS Neon Text Effects preview
17 Pure CSS3 Light JS

20 CSS Neon Text Effects

20 hand-coded CSS neon text effects for SaaS hero CTAs, Twitch/streaming overlays, cyberpunk retail signage, 80s synthwave portfolios, and dark-mode fintech dashboards — neon glow button hover, flashing sign, realistic flickering tube, hollow text-stroke outline, LED 7-segment clock, animated @property hue rotation, low-INP compositor motion, Tailwind utility, glitch, on/off toggle, gradient-flow terminal. Layered text-shadow + box-shadow, WCAG-friendly, copy-paste ready.

Published
16 CSS Glitch Text Effects preview
11 Pure CSS5 Light JS

16 CSS Glitch Text Effects

16 production CSS glitch text effect designs with live demos and copy-paste code — cyberpunk RGB-split chromatic aberration, hover-triggered burst, retro VHS scanlines with chromatic distortion, Matrix-style character scramble decryption, 404 error broken-data corruption, ambient micro-glitch loop for marketing surfaces, sci-fi HUD terminal flicker, spooky horror twitching text with blood-glow, multi-line synchronized paragraph glitch, synthwave neon glow snap, intro-load reveal animation, hacker terminal build-fail scramble, canvas noise overlay blend, split color-channel chromatic drift, plus two AI-era concepts: LLM token-stream hallucination correction and Diffusion-model decode crystallization. Every glitch scoped under .gt-NN, copy-paste ready.

Published
20 CSS Text Gradient Effects preview
18 Pure CSS2 Light JS

20 CSS Text Gradient Effects

20 hand-coded CSS text gradient effects with live demos — hero title, Web3 neon glow, corporate logo, bold minimalist, hover transition, gradient button, active nav link, animated moving gradient, cyberpunk neon, metallic gold, glassmorphism contrast, pastel soft, vertical gradient, radial gradient, rainbow multi-colour, text stroke outline, @supports fallback pattern, Tailwind utility recipe, multiline paragraph, and dark-mode vs light-mode gradient swap via light-dark(). 18 pure CSS + 2 with a tiny vanilla JS snippet — no framework. Modern @property + animation-timeline + light-dark() techniques, prefers-reduced-motion honoured, WCAG 2.2 AA compliant, MIT licensed.

Published
14 CSS Typewriter Effect Designs preview
9 Pure CSS5 Light JS

14 CSS Typewriter Effect Designs

14 hand-coded CSS typewriter effects with live demos — canonical pure-CSS steps() + ch cursor, multi-line stagger, infinite word-swap loop, neon terminal prompt, clip-path reveal mask, SVG stroke-dashoffset handwriting, gradient highlight sweep, variable-font weight morph, per-character split stagger, vanilla-JS character injection, Matrix-rain scramble decode, RGB-channel glitch-on-type, syntax-highlighted code-editor typewriter, and scroll-triggered word reveal. 9 pure CSS (no JavaScript) + 5 with a tiny vanilla JS snippet — no framework. Modern @property + steps() techniques, prefers-reduced-motion honoured, MIT licensed.

Published

Hover & Interaction

12 collections
30 Tailwind CSS Hover Effects preview
28 Pure Tailwind2 Tailwind + JS

30 Tailwind CSS Hover Effects

30 Tailwind CSS hover effects for editorial links and navigation, marketing CTAs and add-to-cart buttons, product and profile cards, and image galleries — spanning underline draws, glitch and neon text, magnetic liquid and 3D-press buttons, tilt and flip cards, zoom-pan and duotone images, and cursor-trail motion. Scoped under <code>.thv-NN</code> for no-collision pasting, <code>prefers-reduced-motion</code> guarded, framework-agnostic.

Published
36 Tailwind CSS Button Hover Effects preview
32 Pure Tailwind4 Tailwind + JS

36 Tailwind CSS Button Hover Effects

Restaurant recipe cards, SaaS hero CTAs, and e-commerce add-to-cart flows all live or die on the button. This set of button hover effects covers sliding background wipes, center underline draws, minimalist outline strokes, conic and rainbow gradient border spins, liquid wave and organic blob fills, neon pulse glows, cursor-tracking spotlights, magnetic ripple attraction, glitch slices, 3D flip and plunger presses, kinetic text flips, icon slide-ins, particle bursts, and typewriter retype states.

Published
33 Tailwind CSS Card Hover Effects preview
26 Pure Tailwind7 Tailwind + JS

33 Tailwind CSS Card Hover Effects

33 Card hover effects for portfolio grids, SaaS pricing tiers, product shops, team profiles, and fintech account cards. This set covers 3D tilt and parallax with depth layers, front-to-back and book-cover flips, image-zoom slide-up reveals, sibling de-emphasis pricing grids, animated conic gradient borders, holographic foil shimmer, cursor spotlight and shockwave ripples, RGB channel-split glitch, curtain and corner-peel reveals, neon sign and CRT scanline terminals, and drifting aurora ribbons.

Published
20 Tailwind CSS Animated Buttons preview
10 Pure Tailwind10 Tailwind + JS

20 Tailwind CSS Animated Buttons

Restaurant recipe cards, SaaS hero CTAs, e-commerce add-to-cart flows, and slider controls all lean on button motion. This set covers neon glow halos, four-direction background-slide fills, no-JS Material ripples, animated border draws, 3D keycap press depth, liquid wave fills, moving gradients, shine sweeps, jelly bounce squash, 3D text flips, hamburger-to-close morphs, flying-dot cart adds, peer-checked toggles, checkmark-draw submit states, download progress fills, and cursor-aware ghost reveals.

Published
Newsletter

Enjoying these demos? Get new ones by email.

A short email when a new collection ships. Unsubscribe any time.

at

Almost there: check your inbox to confirm.Manage

20 Tailwind CSS Image Hover Effects preview
18 Pure Tailwind2 Tailwind + JS

20 Tailwind CSS Image Hover Effects

20 image hover effects in Tailwind CSS for portfolio grids, e-commerce product cards, team pages, and photo galleries: contained zoom, gradient overlay text reveal, product image cross-swap, slide-up captions, grayscale-to-color, blend-mode tints, neumorphic and glassmorphism cards, neon glow borders, clip-path morphs, pointer-tracked 3D tilt, glare sweeps, ripple rings, spinning avatar arcs, and a three-layer 3D card flip.

Published
20 CSS Ripple Effects preview
14 Pure CSS6 Light JS8 new

20 CSS Ripple Effects

20 hand-coded CSS ripple animations covering the expanding ring as a primitive — origin from click coordinates, keeping rings circular in any box, overlapping without stacking, easing that reads like water, compositor-only performance, node cleanup in long lists, touch without tap delay, and reduced-motion fallbacks. Plus water, ink, sonar, heartbeat and aurora applications.

Published Updated on
26 CSS Link Effects preview
22 Pure CSS4 Light JS6 new

26 CSS Link Effects

26 hand-coded CSS link and text hover effects covering every real-world pattern: animated underlines, gradient text with background-clip, border-draw traces, slide-in fills, liquid text fill, glowing halos, wavy squiggles, character morphs, dotted focus rings, encircled outlines, chevron arrows, terminal cursors, neon flickers, heartbeat pulses, sweep reveals, letter push staggers, marker highlighters, background slides, crosshair brackets, glitch splits, ink bleeds, magnetic cursor pulls, caret trails, brutalist shadows, 3D text flips, and typewriter type-on reveals. Copy-paste HTML and CSS, WCAG 2.2 accessible focus-visible, prefers-reduced-motion guarded, framework-agnostic.

Published Updated on
36 CSS Button Hover Effects preview
32 Pure CSS4 Light JS8 new

36 CSS Button Hover Effects

Restaurant recipe cards, SaaS hero CTAs, and e-commerce add-to-cart flows all hinge on a button that responds. This set covers sliding background wipes, center underline draws, outline strokes, conic and rainbow gradient border spins, liquid fills with waves, blob morphs, neon pulse glows, cursor-tracking spotlights, magnetic ripples, glitch slices, 3D depress presses, kinetic text flips, icon slide-ins, particle bursts, split reveals, typewriter retypes, and a Liquid Glass ripple.

Published Updated on
20 CSS Animated Buttons preview
10 Pure CSS10 Light JS

20 CSS Animated Buttons

20 hand-coded CSS animated buttons — neon glow, ripple, 3D press, liquid fill, jelly bounce, shine sweep, animated border, moving gradient CTA, text flip, submit success state, add-to-cart progress, download icon, hamburger-to-close, toggle switch, loading spinner inside button, next/prev arrow nav, and ghost button background reveal. Half pure CSS, half lightweight JS for production interactions.

Published
20 CSS Image Hover Effects preview
18 Pure CSS2 Light JS

20 CSS Image Hover Effects

20 hand-coded CSS image hover effects with live demos — zoom-in card, hover reveal text overlay, e-commerce product image swap, grid blur overlay, slide-up caption, grayscale-to-color, color tint overlay, neumorphic image card, glassmorphism overlay, glowing neon border, clip-path morphing, 3D tilt perspective, shining glare sweep, split transition, ripple animation, spinning avatar border, fullscreen background swap, masonry zoom, icon reveal centre, and 3D card flip. 18 pure CSS + 2 with a tiny vanilla JS snippet — no framework. Modern @property + animation-timeline techniques, prefers-reduced-motion honoured, CLS-safe via aspect-ratio, WCAG 2.2 AA compliant, MIT licensed.

Published
30 CSS Hover Effects preview
28 Pure CSS2 Light JS

30 CSS Hover Effects

30 hand-coded CSS hover effects covering every production interactive pattern shipping today — text hover (underline draw, glitch, letter-spacing expand, gradient reveal, split text, neon glow), button hover (magnetic liquid, border draw, shimmer shine, fill wipe, 3D press, ripple), card hover (3D tilt, flip, glassmorphism, spotlight, slide reveal, stack lift), image hover (zoom-pan, color channel split, distortion, duotone, curtain reveal, Ken Burns), navigation hover (underline slide, highlight fill, strikethrough link, inline word swap), and pointer-tracking effects (cursor dot trail, magnetic pull). 24 demos are 100% pure CSS using <code>:hover</code> + GPU-accelerated <code>transform</code> / <code>opacity</code> transitions; 6 use ~30-60 lines of vanilla JavaScript for pointer-coordinate tracking. All respect <code>prefers-reduced-motion</code>, use scoped <code>.hv-NN__*</code> class names so multiple effects coexist on the same page without style bleed, ship INP-safe (no layout-triggering animations), MIT-licensed. Drop into React, Vue, Astro, Svelte, Rails ERB, plain HTML, or WordPress — zero framework dependencies.

Published
33 CSS Card Hover Effects preview
26 Pure CSS7 Light JS6 new

33 CSS Card Hover Effects

33 hand-coded CSS card hover effects with live demos — multi-axis 3D tilt with parallax, glowing gradient glassmorphic border, image zoom with content slide-up, front-to-back 3D flip, sibling de-emphasis with :has(), minimalist elevation, plus 27 more (elastic lift, conic-gradient border, holographic foil, neon sign, glitch RGB split, magnetic float, blueprint reveal, aurora drift and more). 26 pure CSS + 7 with a small vanilla JS snippet for cursor tracking. prefers-reduced-motion respected, scoped class names, MIT-licensed.

Published Updated on

Keyframe Animations

9 collections
22 CSS Transitions preview
19 Pure CSS3 Light JS

22 CSS Transitions

22 hand-coded CSS transition patterns covering the transition property and its longhands, timing functions including linear() springs and cubic-bezier, delay choreography that reverses on exit, compositor-thread transforms, scale without layout shift, gradient interpolation via registered custom properties, border and outline transitions without reflow, transition-behavior allow-discrete for display none, focus-within parent state, height auto with interpolate-size, @starting-style entry transitions, view-transition names and pseudo elements, data-attribute state machines, transform-origin underlines, @property interpolation, :has() sibling transitions, backdrop-filter cost, index-driven staggered delay, transition all versus explicit property lists, interruption and reverse playback, discrete property behaviour, and a reduced-motion strategy. 19 demos are pure CSS; 3 use vanilla JavaScript.

Published Updated on
25 CSS Number Counter Animations preview
5 Pure CSS20 Light JS10 new

25 CSS Number Counter Animations

25 animated number counters for SaaS landing pages, dashboard KPIs, e-commerce sales tickers, fundraising progress meters, product launch countdowns, fitness rings, stock tickers, ESG impact dashboards, and gamified milestone widgets. Copy the HTML, CSS, and requestAnimationFrame count-up JS — no libraries, no build step.

Published Updated on
Newsletter

Enjoying these demos? Get new ones by email.

A short email when a new collection ships. Unsubscribe any time.

at

Almost there: check your inbox to confirm.Manage

30 CSS Shake Animations preview
10 Pure CSS20 Light JS

30 CSS Shake Animations

30 hand-coded CSS shake animation demos — each topic ships 2–3 side-by-side variants so you can pick the exact treatment for your surface. Covers invalid-input error shakes, form-submit failure shakes, password wrong-attempt recoil, login box shake, hover attention wiggles, buy-now CTA shake, notification bell ring, shopping cart wiggle on add-to-cart, lock icon shake, alert badge shake, heart-icon pulse-and-shake, trash-icon drag-over shake, horizontal + vertical + skew + aggressive + gentle-continuous + elastic + 3D shake styles, hit-damage shake for browser games, and full screen shake. Modern @property + linear() spring easing + :user-invalid + :has() techniques throughout, prefers-reduced-motion honoured, WCAG 2.2 AA compliant, framework-agnostic, MIT licensed.

Published
16 CSS Bounce Animations preview
11 Pure CSS5 Light JS

16 CSS Bounce Animations

16 hand-coded CSS bounce animation templates built as real-world use cases — landing-page scroll-down arrow, animate.css-style bounce-in entrance modal, Stripe payment success checkmark, Sonner/Radix toast notification, chat typing dots (wave), button hover bounce, SaaS pricing card hover lift, Shopify Add-to-Cart cart-icon shake, notification badge pop, dark-mode toggle switch elastic snap, physics ball with squash-and-stretch, weightless floating badge, bouncing letters wave, Stripe checkout form error alert shake, DVD screensaver viewport bounce, and Tailwind <code>animate-bounce</code> customization. Every bounce animates <strong>only <code>transform</code> and <code>opacity</code></strong> — never <code>margin-top</code>, <code>top</code>, <code>width</code>, or <code>height</code>, which trigger the layout+paint pipeline every frame and tank INP scores. 12 pure CSS + 4 with vanilla JS (modal open/close, toast auto-cycle, cart bounce class toggle, error state toggle). Every demo respects <code>prefers-reduced-motion</code> with a tier-appropriate fallback — arrivals show settled state, interactions swap for instant color change, playful demos disable entirely. Scoped under <code>.bn-NN</code>, MIT-licensed.

Published
16 CSS Pulse Animations preview
14 Pure CSS2 Light JS

16 CSS Pulse Animations

16 hand-coded CSS pulse animation templates built as real-world use cases — landing-page CTA button pulse, mobile FAB ripple, video play overlay halo, e-commerce Add-to-Cart hover-triggered double pulse, notification bell badge, live status dot, ECG heartbeat waveform, DevOps server status ring, recording indicator, map pin drop, skeleton loader shimmer, form submitting state, load-more staggered dots, wishlist heart cardiac rhythm, voice search mic listening pulse, and security scan overlay. Every pulse animates <strong>only <code>transform</code>, <code>opacity</code>, and <code>box-shadow</code></strong> — the three GPU-compositor-safe properties that keep 60fps on real mobile hardware without triggering layout reflow. Animating raw <code>width</code>, <code>height</code>, <code>margin</code>, or <code>padding</code> would tank INP scores; every demo here avoids that trap. 13 pure CSS + 3 with vanilla JS (form submit state, load-more trigger, voice listening). All respect <code>prefers-reduced-motion</code> — medical/status indicators keep a static readable state, decorative pulses disable entirely. Scoped under <code>.pl-NN</code>, MIT-licensed.

Published
18 CSS Slide In Animation Templates preview
16 Pure CSS2 Light JS

18 CSS Slide In Animation Templates

18 hand-coded CSS slide-in animation templates covering the full modern web-app playbook — restaurant menu cards, e-commerce product grids, SaaS pricing tables, insurance quote forms, real estate property listings, doctor appointment slot pickers, fintech dashboard KPI cards with count-up, legal firm testimonials, bank mortgage loan calculators with sliders, hotel search results, online course cards, job listings, CRM contact grids, fitness class schedules, startup landing heroes, newsletter modals, GDPR cookie banners, and terminal-styled 404 error pages. Every template ships with industry-appropriate palette, typography, and real content — copy-paste directly into your restaurant, healthcare, fintech, real estate, or SaaS project without stripping out generic styling. 15 pure CSS + 3 with tiny vanilla JS. Compliance callouts embedded (TILA, GDPR, ABA Rule 7.1, state salary transparency laws). MIT licensed, prefers-reduced-motion honoured, accessibility-tested.

Published
16 CSS Fade In Animation Designs preview
13 Pure CSS3 Light JS

16 CSS Fade In Animation Designs

16 hand-coded CSS fade-in animations with live demos — pure-opacity hero fade with staggered delays, clip-path inset reveal, blur defocus, staggered grid cascade, scroll-triggered IntersectionObserver reveal, directional slide-fade up, scale-up zoom-in, scale-down zoom-in, rotateX perspective tilt, word-by-word split, skew sweep, radial clip-path mask reveal, greyscale-to-color saturate, rotateY flip card, glitch flash multi-step, and cascade letter drop. 13 pure CSS + 3 with a tiny vanilla JS snippet — no framework. animation-fill-mode forwards, prefers-reduced-motion honoured, MIT licensed.

Published
30 CSS Keyframe Animations preview
30 Pure CSS

30 CSS Keyframe Animations

30 hand-coded CSS @keyframes animations covering every production motion pattern shipping today — loading spinners (6 variants), typewriter text effect, bouncing ball, pulse-glow buttons, morphing blobs, particle burst, ocean waves, 3D flip cards, neon flicker, skeleton loading shimmer, glitch text, solar-system orbit, liquid-fill progress, stagger list reveal, fire animation, ripple click, floating elements, infinite-scroll ticker (marquee replacement), countdown timer, path drawing, spotlight, spring bounce, confetti explosion (no canvas), breathing meditation pulse, typewriter-delete loop, aurora borealis background, card stack reveal, kinetic typography, morphing progress steps, and animated gradient mesh background. All 30 are 100% pure CSS — zero JavaScript, zero libraries, zero dependencies. GPU-accelerated via transform + opacity (compositor-thread, 60fps on mid-tier mobile, INP-friendly). Each demo uses scoped .kf-NN__* class names + prefixed @keyframes names so all 30 coexist on the same page. Respects prefers-reduced-motion. MIT-licensed.

Published
20 CSS Rotate Animations preview
15 Pure CSS5 Light JS

20 CSS Rotate Animations

20 hand-coded CSS rotation patterns that treat rotation as the subject rather than a side effect of another component. Covers the canonical infinite keyframe spin and why it needs linear timing, hover tilts that reverse cleanly, the transform rotate property against the modern independent rotate property, 180-degree disclosure toggles, 3D cube faces with perspective and preserve-3d, rotateY coverflow, scroll-driven angles on animation-timeline, hue-rotate colour cycling, the composition-order trap where rotate and translate swap results, meshed gear trains with correct tooth ratios, a turntable at 33 and a third rpm, gauge needles pivoting at their base, fan blades, orbital motion, text set around a circle, fanned card decks, transform-origin as a full reference, animation-play-state pause and resume, and reduced-motion safe rotation.

Published

Background & Scroll

10 collections
20 CSS Page Transitions preview
6 Pure CSS14 Light JS9 new

20 CSS Page Transitions

20 hand-coded CSS page transition patterns covering the overlay cover swap reveal lifecycle, exit and enter timing without overlap, holding scroll position across a route swap, transitions between routes of different heights, FLIP element continuity without the View Transitions API, preloading routes so transitions never stall, pending state when the next route is slow, back and forward navigation direction, accessible route change focus and announcements, plus fade, slide, zoom, clip-path wipe, blur, book page turn, ink bleed mask, shatter tiles, split curtain, terminal text overlay and brush stroke mask effects. 6 demos are pure CSS; 14 use vanilla JavaScript.

Published Updated on
20 CSS Scroll Animations preview
17 Pure CSS3 Light JS8 new

20 CSS Scroll Animations

20 hand-coded CSS scroll animation patterns covering animation-timeline with scroll() and view(), named scroll timelines, view timeline subject and scroller, animation-range start and end, scroll-timeline-axis for horizontal scrollers, the four view ranges cover contain entry and exit, timeline-scope across DOM branches, non-root scroll containers, sticky pinned scrubbing, fill-mode and why animation-duration is ignored, scroll-driven 3D transforms, divergent ranges for depth, the IntersectionObserver fallback contract, rootMargin and threshold semantics, scroll-snap interaction, SVG stroke-dashoffset drawing, reduced-motion strategy, main-thread cost, @supports gating, and debugging a timeline that does not run. 17 demos are pure CSS; 3 use vanilla JavaScript.

Published Updated on
22 CSS Parallax Effects preview
18 Pure CSS4 Light JS12 new

22 CSS Parallax Effects

22 hand-coded CSS parallax patterns — pure-CSS scroll-timeline multi-layer hero, animation-timeline view element-enter parallax, scroll-driven SVG path draw, split-screen dual-axis, backdrop-filter blur cross-fade, scroll-linked typography scale, mouse-position card grid, 3D perspective layers, pinned-scene product showcase, chapter-marker storytelling, aurora gradient, plus classic multi-layer landscape, sticky sections, horizontal scroll, image grid, text overlay, mouse card tilt, zoom-in depth, and backdrop blur transition.

Published Updated on
25 CSS Background Animations preview
20 Pure CSS5 Light JS13 new

25 CSS Background Animations

25 hand-coded CSS background animations for SaaS hero sections, developer tool documentation, agency portfolios, gaming and Web3 landing pages, seasonal e-commerce campaigns, and dark-mode dashboards. Covers full-screen gradient shifts, animated mesh gradients, aurora borealis glow, cursor spotlight follow, interactive water ripples, dot grid and diagonal stripe patterns, SVG grain and noise texture overlays, topographic contour lines, layered SVG waves, plasma and lava lamp fluids, bokeh light blur, particle constellation networks, matrix digital rain, synthwave 3D perspective grids, starfield warp speed, CRT scanline overlays, fog and mist drift, morphing organic blobs, floating glassmorphism orbs, halftone dot patterns, starry night skies, floating geometric shapes, rising bubbles, and falling snow. 20 are pure CSS with zero JavaScript; the 5 that need it use vanilla canvas or pointer tracking with no dependencies. Every background animates compositor-only properties so it never blocks the main thread, is scoped under a .bga-NN prefix for no-collision pasting, guards prefers-reduced-motion, and ports unchanged to React, Vue, Svelte, Astro, Next.js and Tailwind.

Published Updated on
18 CSS Scroll Progress Bar preview
18 Light JS

18 CSS Scroll Progress Bar

18 hand-coded CSS scroll progress bar designs for blog article readers, SaaS onboarding wizards, e-commerce checkout flows, documentation sites, image carousels, and long-form landing pages. Top fixed reading bar with animation-timeline: scroll(), sticky header with integrated glassmorphic progress bar, floating radial SVG progress ring with @property registered angle, percentage counter tooltip, back-to-top button with circular morph, gradient multi-color bar, vertical side-docked line, container-scoped inside a div, multi-section TOC tracker with IntersectionObserver scrollspy, step-segmented section-by-section bar, horizontal carousel scroll bar with snap points, e-commerce checkout step progress on scroll, signup onboarding form scroll progress with localStorage save-and-restore, Tailwind CSS @theme + arbitrary values recipe, custom ::-webkit-scrollbar with progress indicator, rainbow hue-rotating bar, cyberpunk neon glow dark mode bar, and ultra-thin 2px minimalist micro progress line. All 18 use animation-timeline: scroll() where supported with rAF scroll listener fallback for Safari + Firefox — no jank, no library, no scroll-listener anti-patterns. Every design scoped under .sp-NN prefix for no-collision pasting, prefers-reduced-motion guarded per WCAG 2.3.3, framework-agnostic (React, Vue, Svelte, Astro, Next.js, Nuxt, Remix, SvelteKit).

Published
12 CSS Image Reveal on Scroll preview
12 Pure CSS

12 CSS Image Reveal on Scroll

12 production-grade CSS image-reveal-on-scroll demos — industry-templated heroes for fintech, luxury, SaaS, real estate, insurance, editorial, agency, enterprise, legal, healthcare, mortgage, and travel verticals. Built on the W3C animation-timeline: view() spec with IntersectionObserver fallbacks. Real free Unsplash images bundled, compliance-aware copy (FDIC, HIPAA, TILA, ABA Rule 7.1, Fair Housing), copy-paste ready.

Published
12 CSS Infinite Marquee Designs preview
9 Pure CSS3 Light JS

12 CSS Infinite Marquee Designs

12 production-ready CSS infinite marquee demos — as-seen-in press logo bars, B2B client logo walls, sponsor & exhibitor tier rows, e-commerce USP text tickers, live stock and crypto price tickers, flash-sale announcement bars, auto-sliding testimonial rails, portfolio tech-stack scrollers, image-heavy brand walls, vertical agency-services columns, draggable inertia marquees and scroll-velocity reactive marquees. Every loop is seamless, pause-on-hover, WCAG-friendly, and copy-paste.

Published
11 CSS animation-timeline Demos preview
11 Pure CSS

11 CSS animation-timeline Demos

11 pure CSS animation-timeline demos built on the W3C scroll() and view() spec — reading progress bar, view-timeline fade & reveal, shrinking sticky header, stacking cards, horizontal scroll section, parallax hero, container shadow indicators, reverse-scroll columns, text scrim reveal, cover card to sticky header, and image zoom / clip-path wipe. Zero JS, off the main thread, Core Web Vitals safe. Copy-paste ready.

Published
16 CSS Gradient Animations preview
4 Pure CSS12 Light JS

16 CSS Gradient Animations

16 hand-coded CSS gradient animations with live demos — aurora mesh hero background, diagonal sweeping linear gradient, radial glow split, dark-mode subtle mesh pulse, glow-on-hover accent button, animated gradient border card, metallic shimmer skeleton loader, neon flowing underline link, infinite gradient text animation, hover-reveal text fill, glassmorphism moving backdrop, retro vaporwave cyberpunk mesh, liquid lava lamp blob, striped progress bar loader, file upload streaming state, and animated toggle switch track glow. 4 pure CSS + 12 with a small vanilla JS snippet — no framework. Modern @property typed-angle + conic-gradient + animation-timeline techniques, prefers-reduced-motion honoured, WCAG 2.2 AA compliant, MIT licensed.

Published
20 CSS View Transitions preview
1 Pure CSS19 Light JS

20 CSS View Transitions

20 hand-coded View Transitions API patterns covering the browser API that animates between two DOM states. Starts with the core mechanics — document.startViewTransition for single-page apps, the @view-transition at-rule that animates multi-page navigations with no JavaScript at all, setting view-transition-name programmatically for dynamic lists, replacing the default cross-fade with custom keyframes on the old and new pseudo-elements, and transition types for directional forward and back navigation. Then the shared-element morphs people actually build: card to detail page, image grid to lightbox, list reorder and filtering, sliding tab indicators, circular theme reveals, add-to-cart badge counters, accordions, drawers, native dialogs and multi-step wizards. Closes with the debugging pages that matter most — reduced-motion handling, feature detection, aspect-ratio image distortion, nested element isolation, and the duplicate-name bug that silently aborts an entire transition.

Published

Search CodeFronts

Loading…