15 Motion

Every collection tagged “motion” — each one a set of hand-coded demos with copy-paste code and a live preview.

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

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.

11 Pure CSSPublished

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.

20 Pure CSS5 Light JS13 newPublished Updated on

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 animate-bounce customization. Every bounce animates only transform and opacity — never margin-top, top, width, or height, 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 prefers-reduced-motion with a tier-appropriate fallback — arrivals show settled state, interactions swap for instant color change, playful demos disable entirely. Scoped under .bn-NN, MIT-licensed.

11 Pure CSS5 Light JSPublished

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.

12 Pure CSSPublished

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.

30 Pure CSSPublished

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 100% pure CSS — zero JavaScript, zero libraries (no react-loading-skeleton, no react-spinners, no SpinKit copy, no loading.io snippet). Every loader uses CSS @keyframes animation on transform + opacity only (GPU-accelerated, INP-safe — no layout thrash). Every demo includes proper role="status" + aria-live="polite" markup so screen readers announce "loading" state correctly. Every demo respects prefers-reduced-motion, uses scoped .ld-NN__* 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.

20 Pure CSSPublished

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.

17 Pure CSS3 Light JSPublished

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.

5 Pure CSS20 Light JS10 newPublished Updated on

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.

6 Pure CSS14 Light JS9 newPublished Updated on

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.

18 Pure CSS4 Light JS12 newPublished Updated on

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 only transform, opacity, and box-shadow — the three GPU-compositor-safe properties that keep 60fps on real mobile hardware without triggering layout reflow. Animating raw width, height, margin, or padding 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 prefers-reduced-motion — medical/status indicators keep a static readable state, decorative pulses disable entirely. Scoped under .pl-NN, MIT-licensed.

14 Pure CSS2 Light JSPublished

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.

17 Pure CSS3 Light JS8 newPublished Updated on

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).

18 Light JSPublished

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 100% pure CSS — zero JavaScript, zero libraries (no react-spinners, no react-loading-skeleton, no SpinKit copy, no loading.io snippet). Every spinner uses CSS @keyframes animating transform + opacity only (GPU-accelerated, INP-safe — no layout thrash). Every demo includes proper role="status" + aria-live="polite" markup so screen readers announce loading state correctly, respects prefers-reduced-motion, uses scoped .sp-NN__* 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.

25 Pure CSSPublished

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.

19 Pure CSS3 Light JSPublished Updated on

Search CodeFronts

Loading…