Image carousel arranged in a rotating radial pattern demonstrating scroll-driven depth-of-field blur effects

CSS Scroll-Driven Radial Gallery

This is a Scroll-Driven Radial Gallery. It binds a circular, rotating layout directly to the viewport’s scroll position. Its function is to transform linear page scrolling into a dynamic, spatial carousel, keeping only the active item in sharp focus while pushing others into a blurred, grayscale periphery.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Apr 2026):
Chrome Chrome 132+ Edge Edge 132+ Safari Safari 26.2+
Features:
Scroll-Driven Radial Path Dynamic Blur CSS Math
Code by: Chris Bolson Chris Bolson
License: MIT
Interactive button with a moving neon SVG border trace effect around its rounded corners

Glowing Border Trace Button

This is a Glowing Border Trace Button. It utilizes embedded SVG rectangles to create a moving neon stroke along the perimeter upon interaction. Its function is to provide highly visible, tactile feedback for primary actions without disrupting the core layout geometry or triggering expensive repaints.

Technologies:
HTML SCSS JavaScript
Difficulty: Intermediate
Browser Support (as of Apr 2026):
Chrome Chrome 88+ Edge Edge 88+ Firefox Firefox 78+ Safari Safari 14+
Features:
SVG Tracing Dynamic Radius Focus States
Code by: Denis Gusev Denis Gusev
License: MIT

See the Pen Glowing Border Trace Button.

Grid of scrambled puzzle pieces with organic interlocking edges floating above a dark background

Interactive Drag-and-Drop Jigsaw Puzzle

This is an Interactive Drag-and-Drop Jigsaw Puzzle. It dissects a single raster image into an interlocking grid of movable pieces without relying on a single line of JavaScript. Its function is to gamify visual content, converting passive image consumption into a tactile, logic-driven interaction.

Technologies:
Pug SCSS
Difficulty: Advanced
Browser Support (as of Apr 2026):
Chrome Chrome 84+ Edge Edge 84+ Firefox Firefox 90+ Safari Safari 15.4+
Features:
Zero JS Geometric Masking State Retention
Code by: Temani Afif Temani Afif
License: MIT
Custom range slider component with an orange diamond tooltip that physically tilts based on drag speed using JavaScript lerp

Tilting Diamond Range Slider Effect

This is a Tilting Diamond Range Slider Effect. It tracks user input through a hidden native range element, overlaying a custom graphical interface. Its primary function is to inject physical inertia into a standard digital control. The tooltip mimics mass, lagging behind rapid movements and tilting in the direction of travel.

Technologies:
HTML SCSS Babel
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 80+ Edge Edge 80+ Firefox Firefox 75+ Safari Safari 13+
Features:
Lerp Animation Kinetic Tilt Native Input
Code by: @keyframers @keyframers
License: MIT
High-contrast 3D toggle switch with an elastic slingshot animation and viewport-wide stretching effects using CSS keyframes.

Slingshot Elastic Stretch Toggle

The Slingshot Elastic Stretch Toggle is an experimental UI switch that utilizes exaggerated spatial movement to signal state changes. It replaces the standard sliding thumb with a “dual-handle” system that appears to shoot across the viewport using a high-velocity slingshot effect. Its function is to provide an high-energy alternative to traditional toggles, making a simple boolean selection feel like a physical, kinetic event.

Technologies:
HTML CSS JavaScript
Difficulty: Intermediate
Browser Support (as of Mar 2026):
Chrome Chrome 86+ Edge Edge 86+ Firefox Firefox 85+ Safari Safari 15.4+
Features:
Elastic Motion Viewport Stretching State Detection
Code by: Jon Kantner Jon Kantner
License: MIT
A grid of four product cards featuring inset shadows, fluid typography, and dynamic accent colors based on OKLCH color space.

Modern Container Query Product Cards

This snippet showcases Modern Container Query Product Cards. It represents the bleeding edge of CSS architecture, utilizing @scope, @layer, and @property to create highly encapsulated, fluid components. Its function is to provide a robust e-commerce card layout that automatically adjusts its internal styling and grid distribution based on the physical size of its container, not the viewport. (Requires: kiso.css)

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 118+ Edge Edge 118+ Firefox Firefox 128+ Safari Safari 17.4+
Features:
Container Queries CSS Scope OKLCH Colors Fluid Typography
Code by: tak-dcxi tak-dcxi
License: MIT
A dark-themed dashboard featuring a central circular avatar surrounded by radially positioned statistics, a quote, and a dashed SVG ring.

React Circular Stat Dashboard

This is a React Circular Stat Dashboard. It replaces a standard linear or grid-based profile view with a dynamic, radial layout. Its function is to present a user’s avatar centrally while mathematically orbiting their related statistics and quotes around them, utilizing React state to handle smooth entering and exiting transitions between different profiles. (Requires: React, ReactDOM)

Technologies:
HTML SCSS Babel
Difficulty: Intermediate
Browser Support (as of Mar 2026):
Chrome Chrome 80+ Safari Safari 13.1+ Firefox Firefox 75+ Edge Edge 80+
Features:
Radial Positioning React State Hooks CSS Custom Properties SVG Animation
Code by: @keyframers @keyframers
License: MIT

See the Pen React Circular Stat Dashboard.

A fan-like arrangement of rectangular image cards that spread apart gracefully when hovered, creating a fluid radial carousel

Interactive Radial Image Carousel

This is an Interactive Radial CSS Image Carousel. It arranges a deck of image cards into a curved, fan-like layout. Its function is to provide an engaging, space-saving gallery interface where hovering over a card gracefully shifts its neighbors away along a circular path, bringing the focused item into clear view without relying on JavaScript math.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 119+ Edge Edge 119+ Firefox Firefox (partial) Safari Safari 26.2+
Features:
CSS Motion Path Sibling Targeting Spring Physics Pure CSS
Code by: Chris Bolson Chris Bolson
License: MIT
Letters scattered across the screen coming together to form a circular sentence driven by page scrolling

CSS Scroll-Driven Circular Typographic Scramble

This is a Scroll-Driven Circular Typographic Scramble. It utilizes experimental CSS animation-timeline to bind complex trigonometric and geometric transitions directly to the user’s scrollbar. Its function is to create a highly engaging, interactive hero section where chaotic, scattered letters perfectly align into a readable circular sentence as the user scrolls down.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 115+ Edge Edge 115+
Features:
Scroll Timeline CSS Math Functions Pure CSS Radial Layout
Code by: Chris Bolson Chris Bolson
License: MIT
Dark pill-shaped button with a glowing cosmic hover effect revealing a 3D rotating particle galaxy inside

Cosmic 3D Galaxy Button

This is a Cosmic 3D Galaxy Button. It replaces a standard solid color hover state with a dynamic, multi-layered particle system. Its function is to serve as a high-impact primary call-to-action, using spatial depth and global page illumination to draw maximum user focus.

Technologies:
HTML CSS Babel
Difficulty: Advanced
Browser Support (as of Feb 2026):
Chrome Chrome 105+ Edge Edge 105+ Firefox Firefox 121+ Safari Safari 15.4+
Features:
3D Rotation Particle System State-Driven Styling
Code by: Jhey Jhey
License: MIT

See the Pen Cosmic 3D Galaxy Button.

Minimalist animated coffee cup stretching and spinning side to side with rising steam, built using pure CSS and SVG

Pure CSS Animated Coffee Cup Loader

This is a Pure CSS Animated Coffee Cup Loader. It transforms static loading screens into an engaging, playful visual loop. Its function is to provide delightful feedback during wait times, utilizing the classic animation principle of squash and stretch without relying on any JavaScript.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Feb 2026):
Chrome Chrome 88+ Edge Edge 88+ Firefox Firefox 84+ Safari Safari 14+
Features:
Squash & Stretch Path Morphing Dark Mode
Code by: Jon Kantner Jon Kantner
License: MIT
Segmented alignment toolbar with top, middle, and bottom SVG icons demonstrating a spring-loaded bounce animation

Animated SVG Alignment Toolbar

This is an Animated SVG Alignment Toolbar. It replaces static UI states with physical motion. Its function is to provide immediate, tactile feedback for spatial arrangement settings (Top, Middle, Bottom) using native form inputs.

Technologies:
HTML CSS JavaScript
Difficulty: Intermediate
Browser Support (as of Feb 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
Micro-interactions SVG Animation Dark Mode
Code by: Jon Kantner Jon Kantner
License: MIT

See the Pen Animated SVG Alignment Toolbar.

A responsive grid of cards featuring illustrations, where each card is slightly rotated and scaled, creating a scattered paper effect on a dark background.

CSS Scroll-Driven Masonry Reveal

This Scroll-Driven Masonry Reveal creates a playful, tactile experience where content cards appear to be “dealt” onto the screen as the user scrolls. By leveraging the native CSS Scroll-driven Animations API, it achieves smooth, main-thread-free entrance effects without a single line of JavaScript. The layout adapts intelligently from 2 to 8 columns, making it a robust solution for image galleries or blog archives. (Requires: Open Props (CSS Library))

Technologies:
HTML CSS
Difficulty: Intermediate
Browser Support (as of Feb 2026):
Chrome Chrome 115+ Edge Edge 115+ Safari Safari 26+ Firefox Firefox (flag/polyfill)
Features:
Scroll Triggered Staggered Entrance Responsive Grid Reduced Motion
Code by: Adam Argyle Adam Argyle
License: MIT
Digital clock interface where time digits are enclosed in soft square blocks that bounce and roll when changing, shown in a blue and white theme

Bouncy Digital Block Clock

This Bouncy Digital Block Clock transforms a standard time display into a playful, tactile UI element. It utilizes a split-digit technique where numbers “roll” into place while their container physically bounces, adding weight and character to every second that passes. The component is fully responsive, supports system dark mode automatically, and ensures accessibility via dynamic ARIA labels.

Technologies:
HTML CSS JavaScript
Difficulty: Intermediate
Browser Support (as of Feb 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 60+ Safari Safari 12+
Features:
Bouncing Animation Rolling Digits Dark Mode Responsive Scaling
Code by: Jon Kantner Jon Kantner
License: MIT

See the Pen Bouncy Digital Block Clock.

Dark UI row of rounded buttons where 'Playlists' and 'Artists' are selected and visually fused into a single continuous capsule shape.

Merging Pill Filter Buttons

This Merging Pill Filter Button set introduces a fluid, organic feel to standard multi-select inputs. Instead of keeping active items isolated, this component visually fuses adjacent selected buttons into a single continuous shape. It’s an excellent choice for music apps, filtering systems, or any UI where categories are related and grouping them visually adds context.

Technologies:
HTML SCSS Babel
Difficulty: Intermediate
Browser Support (as of Feb 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 50+ Safari Safari 10+
Features:
Visual Merging Adjacent Sibling Selector Negative Margins Fluid Scaling
License: MIT

See the Pen Merging Pill Filter Buttons.

Modern purple gradient accordion using CSS calc-size and details-content pseudo-element for smooth height animations

Pure CSS Animated Details Accordion

This Pure CSS Animated Details Accordion utilizes cutting-edge CSS functions to achieve smooth height transitions on native HTML elements without a single line of JavaScript. By leveraging the revolutionary calc-size() function and the ::details-content pseudo-element, it finally solves the age-old problem of animating from height: 0 to height: auto.

Technologies:
HTML CSS
Difficulty: Intermediate
Browser Support (as of Jan 2026):
Chrome Chrome 129+ Edge Edge 129+
Features:
Smooth Height Transition Zero JavaScript Discrete Animations Exclusive Expansion
Code by: Zoran Jambor Zoran Jambor
License: MIT
A UI layout with multiple gray placeholder blocks being swept by a single, perfectly aligned white light beam moving across the entire screen.

Synchronized Pure CSS Skeleton Loader

This Synchronized Pure CSS Skeleton Loader pushes the boundaries of modern CSS by creating a unified “shimmer” effect that sweeps across multiple disparate elements simultaneously. Unlike standard skeleton loaders that animate each block independently, this implementation ensures a single, globally aligned gradient flow using advanced CSS math and Houdini properties.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Jan 2026):
Chrome Chrome 111+ Edge Edge 111+ Safari Safari 16.4+ Firefox Firefox 128+
Features:
Global Synchronization Viewport-aware speed No-JS Math Light/Dark Mode
Code by: Simey Simey
License: MIT
A circular avatar that scales up with a smooth pop-out effect on hover.

Fancy Hover Effect on Avatar

A pure CSS “pop-out” avatar effect utilizing CSS variables to orchestrate a scale transition.

See the Pen Fancy Hover Effect on Avatar.

A gallery of images framed to look like interlocking jigsaw puzzle pieces.

Wavy Image Gallery

Images appear as jigsaw puzzle pieces with interlocking edges that can visually fit together.

See the Pen Wavy Image Gallery.

An isometric text cube created with pure CSS, showing text on its different faces and rotating in 3D space.

CSS Cube

A pure CSS isometric text cube constructed via 3D transforms and trigonometry-based SCSS calculations. It features dynamic styling controlled by :has() and CSS variables, allowing for runtime theme switching (tritone/monotone/dim) and dark mode adaptation without JavaScript logic.

See the Pen CSS Cube.

A soft, 3D-like circular progress indicator in a neumorphic style, with the arc filling up.

Neumorphic Loader

A tactile Neumorphic progress indicator where JavaScript drives the animation state by updating a custom property --progress. The visual logic relies on CSS conic-gradient utilizing calculated color stops to dynamically render the filling arc, while complex layered box-shadow creates a soft, extruded 3D aesthetic.

See the Pen Neumorphic Loader.

A collection of skeuomorphic buttons with soft, 3D-like styling created with pure CSS gradients.

Soft Button Styling

A collection of skeuomorphic buttons rendered entirely in CSS using complex gradient layering and calc()-driven geometry variables.

See the Pen Soft Button Styling.

Minimalist dashboard with multiple animated progress bars tracking the passage of time from minutes to years.

Progress

A minimalist dashboard visualizing the passage of time across multiple scales (minute to year) via animated progress bars, updated in real-time.

See the Pen Progress.

Magnetic Links

Magnetic Links

A sophisticated magnetic navigation menu that uses JavaScript to map mouse proximity to CSS variables, driving smooth translations via translate. It features a configurable “follow” effect where a background pseudo-element glides between items based on bounding box coordinates calculated on hover.

See the Pen Magnetic Links.

Scrambling Letter Effect on Hover

Scrambling Letter Effect on Hover

On hover, letters scatter chaotically, creating a dynamic, interactive explosion of text without complex animation libraries.

Vertical Original vs. Negative Card (Hover and Drag)

Vertical Original vs. Negative Card (Hover and Drag)

An interactive card that reveals a negative version of the image on hover, with a draggable slider to compare the two versions, utilizing CSS blend modes and 3D transforms.

Segmented/Pill Radio Input

Segmented/Pill Radio Input

A sliding segmented control that uses CSS Custom Properties calculated via JS to animate a pseudo-element background. The layout relies on flexbox for equal distribution, while calc() dynamically positions the “pill” based on the active index, enhanced by a springy cubic-bezier transition.

See the Pen Segmented/Pill Radio Input.

Product Plan Cards with CSS Ribbons

Product Plan Cards with CSS Ribbons

A pure CSS pricing component that creates a dimensional ‘ribbon’ aesthetic solely through ::after pseudo-elements and clip-path geometry. The layout leverages CSS Custom Properties for distinct color themes and calc with negative margins to extend elements beyond the parent container, creating a folded paper effect without any JavaScript dependencies.

Fancy Image Hover Effects with Splitting.js

Fancy Image Hover Effects with Splitting.js

Explore a variety of sophisticated hover effects, where complex animation patterns are created using advanced CSS selectors like :nth-child(-n + 3). These selectors target specific ranges of “cells” generated by Splitting.js.

Text Reveal with Splitting.js

Text Reveal with Splitting.js

This demo is a showcase of Splitting.js, a library that splits HTML elements into granular parts for detailed animation. The “Course Clear” heading is split into individual characters, and a grid overlay is created with data-splitting="cells", allowing for complex, staggered animations on each part.

See the Pen Text Reveal with Splitting.js.