Split screen web layout with contrasting dark and neon themes, featuring a vertical reveal line controlled by interactive mouse hover

Mouse-Driven Split Reveal

demo & code

Static content is a relic. We don’t just want to show information; we want the user to uncover it. This component transforms the cursor into a tool of discovery, creating a tactile connection between the user and the interface. By removing the friction of clicking or dragging handles, we achieve a fluidity that feels less like software and more like a physical extension of the hand. It is simple, unapologetic, and immediate.

Level: Beginner
Browser Support: Chrome 60+, Edge 79+, Firefox 52+, Safari 10+
4x4 image grid with a central magnified pop-up overlay appearing on long-press, demonstrating a tactile preview interaction

Tactile Long Press Image Grid

demo & code

In a world obsessed with speed, we often forget the power of distinct intent. The standard “click” is binary and abrupt. This component introduces a moment of pause — a “breath” — allowing the user to peek into content without committing to a navigation event. By utilizing the “long press” (or click-and-hold) mechanic, we bridge the gap between desktop precision and mobile intuition, creating a gallery experience that feels organic and responsive to the user’s curiosity.

Level: Beginner
Browser Support: Chrome 57+, Edge 16+, Firefox 52+, Safari 10.1+
A digital clock where each digit is composed of multiple small analog clocks; the hands align to form the numbers 12:45:30 on a white background.

Kinetic 144-Clock Digital Display

demo & code

This Kinetic 144-Clock Digital Display is a stunning example of procedural animation. Inspired by physical kinetic art installations (like those by Humans Since 1982), it uses a grid of 144 individual analog clocks to form digital numbers. React manages the “target state” of every single clock hand, while CSS transitions handle the smooth, synchronized movement, creating a mesmerizing flow of time.

Level: Advanced
Browser Support: Chrome 60+, Edge 79+, Firefox 60+, Safari 12+
A grid of colorful Nike shoe product cards. On hover, the shoe image rotates and shifts right, while a vertical text label slides in from the left.

Nike Product Card Interaction

demo & code

This Nike Product Card Interaction is a dynamic UI component designed for e-commerce listings. It transforms a standard static product grid into an engaging experience. When a user hovers over a card, the product image rotates and shifts to make room for a vertical brand label that slides in from the side. This clever use of space allows for a clean initial view while revealing branding details on demand.

Level: Intermediate
Browser Support: Chrome 57+, Edge 16+, Firefox 52+, Safari 10.1+
A responsive grid of cards featuring illustrations, where each card is slightly rotated and scaled, creating a scattered paper effect on a dark background.

Scroll-Driven Masonry Reveal

demo & code

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.

Level: Intermediate
Browser Support: Chrome 115+, Edge 115+, Safari 26+, Firefox (flag/polyfill)
A pastel-colored web page displaying a grid of photos (plants, food, animals) with a filter bar at the top allowing users to select categories.

React Filterable Image Gallery

demo & code

This React Filterable Image Gallery is a clean, component-based solution for organizing visual content. Unlike simple “show/hide” scripts, it uses React’s state management to handle complex multi-criteria filtering. Users can toggle multiple categories (e.g., “Food” AND “Plants”) simultaneously, or reset everything with an “All” button. The UI is polished with pastel colors and smooth hover animations.

Level: Intermediate
Browser Support: Chrome 80+, Edge 80+, Safari 13+, Firefox 75+
Dark themed image gallery where one selected city night photo is enlarged and spans multiple grid cells, while others are neatly arranged around it.

Vue FLIP Image Gallery

demo & code

This Vue FLIP Image Gallery showcases a high-performance way to animate layout changes that are typically expensive for the browser. When a user selects an image, it expands to fill a larger portion of the grid, while surrounding items gracefully rearrange themselves. This is achieved not by simple CSS transitions, but by the FLIP technique (First, Last, Invert, Play), ensuring buttery smooth 60fps animations even during complex DOM reflows.

Level: Advanced
Browser Support: Chrome 80+, Edge 80+, Safari 14+, Firefox 90+
Elegant glassmorphism profile card with a blurred image background and fading overlay effect using CSS masks

Glassmorphism Profile Info Card

demo & code

This Glassmorphism Profile Info Card is a high-end UI component that replicates the sleek, frosted-glass aesthetic found in modern operating systems like iOS and macOS. It features a sophisticated interplay between background imagery and foreground content, using advanced CSS masking and backdrop filters to create a natural sense of depth and hierarchy.

Level: Intermediate
Browser Support: Chrome 76+, Edge 79+, Firefox 103+, Safari 9.1+
Grid of dark cards; the hovered card has a subtle glowing white border that follows the mouse cursor, created by CSS radial gradients

Stripe-Inspired Cards Hover Effect

demo & code

This Stripe-Inspired Cards Hover Effect replicates the sophisticated “flashlight” border interaction seen on modern SaaS websites. Instead of a simple color change, a soft radial gradient follows the user’s mouse cursor across a grid of cards. This creates a cohesive, lighting-aware interface where elements seem to illuminate as you interact with them.

Level: Intermediate
Browser Support: Chrome 49+, Edge 15+, Firefox 31+, Safari 9.1+
Soft gray calculator interface with rounded buttons and a toggle switch; one state shows light mode, the other shows dark mode with neon accents

Neumorphic Dark Mode Calculator

demo & code

This Neumorphic Dark Mode Calculator brings the “Soft UI” trend to life with a fully functional mathematical tool. It features a realistic, extruded plastic look achieved through complex CSS box-shadows. A prominent toggle allows users to switch between a clean light theme and a high-contrast dark mode, instantly updating the shadow physics to maintain the illusion of depth.

Level: Intermediate
Browser Support: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
A clean and responsive admin dashboard layout with a collapsible sidebar and dark mode toggle.

AdminHub Admin Dashboard v2.1

A responsive admin dashboard built with CSS Grid and Flexbox, featuring a collapsible sidebar, dark mode toggle, and interactive widgets.

See the Pen AdminHub Admin Dashboard v2.1.

An interactive Advent calendar with 25 cards that flip to reveal quotes.

Advent Calendar with Quotes

An interactive Advent Calendar featuring 25 flip-cards generated via JavaScript.

See the Pen Advent Calendar with Quotes.

An adaptive CSS grid that smoothly reorganizes its layout as items are added or removed.

Always Great Grid

An interactive, “living” grid that smoothly morphs and adapts layout upon adding/removing items or resizing the container, maintaining a harmonious bento-style structure.

See the Pen Always Great Grid.

A music app dashboard with glassmorphism panels, sliders, and a music player with a rotating vinyl cover.

Responsive Dashboard with Sliders and Music Player

A fully-featured modern music app web interface featuring glassmorphic panels, smooth animations, and functional music playback with a rotating vinyl-style cover art.

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.

Grid of interactive to-do list cards that animate to reveal sub-tasks when clicked.

List Styles 2

An interactive grid of task cards where clicking a counter button triggers a card-swap animation, revealing a hidden sub-list from behind the main item using z-index manipulation and CSS transforms.

See the Pen List Styles 2.

A clean 5-day weather forecast card showing daily temperatures and weather icons.

React Weather API Card

A responsive 5-day weather forecast widget fetching live data via OpenWeatherMap API, rendered dynamically with React and styled using CSS Grid.

See the Pen React Weather API Card.

Dynamic infographic where an image shrinks and a number counter animates on scroll.

Scroll UI Animation

As you scroll down, a large image of a field shrinks and gets cropped by white blocks to focus attention, while a heading on the left counts up the percentage of water saved, changing color for emphasis. This creates the feel of a dynamic infographic.

See the Pen Scroll UI Animation.

Calculator

Calculator

A responsive calculator interface with distinct functional zones powered by CSS Grid and immediate string evaluation.

See the Pen Calculator.

Infinite Mondrian Image Gallery

Infinite Mondrian Image Gallery

A visually unique web application that continuously expands its content upon scrolling, demonstrating the synergy between a reactive framework and modern browser APIs for procedural design.

See the Pen Infinite Mondrian Image Gallery.

Responsive CSS Grid: Books

Responsive CSS Grid: Books

A unique, dynamic, and responsive collage of images that uses advanced CSS techniques to create a 3D-like geometric pattern.

See the Pen Responsive CSS Grid: Books.

Checkout Radios

Checkout Radios

A modern checkout form component utilizing the powerful CSS :has() selector to style parent containers based on the state of nested radio inputs.

See the Pen Checkout Radios.

Flat Sales Dashboard UI

Flat Sales Dashboard UI

Interactive sales dashboard built with React using pure ES modules and no build step. Features dynamic SVG charts, leverages Intl.API for data formatting, and uses Tailwind CSS for a responsive layout with dark mode support.

See the Pen Flat Sales Dashboard UI.

Jackie's Pet Store

Jackie's Pet Store

A responsive pet store landing page built with CSS Grid and Flexbox. It features a dynamic navigation system with hover-triggered mega-menus, gradient-styled product cards with scale transitions, and a comprehensive use of CSS variables for consistent theming across breakpoints.

See the Pen Jackie's Pet Store.

Choose Your Megafauna

Choose Your Megafauna

A high-tech, atmospheric interface that immerses the user in a retro-futuristic environment, reminiscent of 80s arcade selection screens or cyberpunk movies.

See the Pen Choose Your Megafauna.

Lo-Fi Tailwind CSS Calendar Select

Lo-Fi Tailwind CSS Calendar Select

A stylish, strict date picker prototype that easily integrates into any Tailwind project and is ready to be “brought to life” with JavaScript.

React Infinite Scrolling with IntersectionObserver

React Infinite Scrolling with IntersectionObserver

An infinite scroll gallery built with React, fetching images from the Unsplash API. It leverages the native Intersection Observer API via a useCallback ref to detect when the user reaches the bottom of the grid, automatically triggering the next page fetch and state update for a seamless browsing experience.

Responsive Image Grid with Slider and Search

Responsive Image Grid with Slider and Search

A convenient, fast, and visually pleasing interface for searching and viewing image collections that works seamlessly without page reloads.

Neu Times!

Neu Times!

A neumorphic digital clock featuring a vertical sliding mechanism reminiscent of slot machines.

See the Pen Neu Times!.

Simple HTML Charting with CSS Grid, Writing Mode, and Vue

Simple HTML Charting with CSS Grid, Writing Mode, and Vue

A lightweight, colorful, and animated chart demonstrating data visualization capabilities using pure CSS and Vue without heavy dependencies.

Full Viewport Gallery: Pure CSS

Full Viewport Gallery: Pure CSS

A pure CSS image gallery that leverages the advanced :has() pseudo-class and radio input hacks to orchestrate state changes without JavaScript. The layout utilizes CSS Grid variables to dynamically translate the viewport, creating a smooth, easing-based transition between full-screen images controlled entirely by sibling combinators and checked states.

See the Pen Full Viewport Gallery: Pure CSS.

Round Cards

Round Cards

An aesthetic, minimalist gallery of circular elements where each card is uniquely composed (image on top, bottom, left, or right), creating visual variety within a strict grid.

See the Pen Round Cards.

Open Props Bento Grid

Open Props Bento Grid

A modern, visually appealing content grid that smoothly assembles on scroll, adapting seamlessly to any screen size.

See the Pen Open Props Bento Grid.

Inertial Scroll Gallery with 3D Transforms

Inertial Scroll Gallery with 3D Transforms

A sophisticated scroll-hijacking gallery that emulates inertia using a virtual scroll container and requestAnimationFrame. JavaScript orchestrates complex 3D transforms - calculating rotation and translation based on intersection ratios - while the layout relies on a fixed CSS grid.

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.

Animated Portfolio with SVG ClipPath Hover Effect

Animated Portfolio with SVG ClipPath Hover Effect

This interactive portfolio showcases a masonry-style layout built with two overlapping CSS Grids, where grid-row: span and grid-column: span create the complex pattern. The key interaction is a unique “spotlight” reveal effect on hover, powered by a JavaScript-controlled SVG <clipPath> that dynamically updates the position of a <circle> mask to follow the mouse.

CATS Pets Store Hero Section

CATS Pets Store Hero Section

This cinematic hero section employs Vue.js reactivity to orchestrate a continuous background image rotation system, where cat photos dynamically swap with sequenced enter/exit animations while geometric typography skews dramatically above.

See the Pen CATS Pets Store Hero Section.

Infinite Scrolling with Image Cards

Infinite Scrolling with Image Cards

This infinitely scrolling image grid employs an IntersectionObserver with baton-passing observation to dynamically load content from the Pixabay API, creating cards through DOM manipulation as the user scrolls. JavaScript manages the paginated requests while CSS Grid provides responsive layout adaptation, with custom properties enabling seamless dark/light theme switching and clip-path animations.

Interactive Profile Card with Canvas

Interactive Profile Card with Canvas

Canvas-powered dot grid with interactive profile components. Responsive card design featuring smooth transitions, gradient accents, and scalable SVG avatars.

Simple Full-Screen Slideshow With Vanilla JavaScript

Simple Full-Screen Slideshow With Vanilla JavaScript

A slideshow employing a CSS Grid stack for a fade transition, toggled by an .is-active class. JavaScript drives navigation via nextElementSibling and powers a custom cursor by updating its style.left/top properties based on mousemove events for fluid tracking.

Variable Font Generative Letter Grid

Variable Font Generative Letter Grid

Interactive typography generator with responsive grid system. Customizable character sets, weighted randomness, and smooth hover/click animations.

100-Year Clock Wheel

100-Year Clock Wheel

This demo showcases a multi-ring clock with rotating elements where each date/time value is generated and positioned using trigonometry. A key feature is the dynamic localization of month and day names using the Intl.DateTimeFormat API and language selection via the native <dialog> element.

See the Pen 100-Year Clock Wheel.

CSS Blockquote with Gradient Drop Cap

CSS Blockquote with Gradient Drop Cap

A unique drop cap is created with modern CSS techniques - its complex background is generated by layering linear-gradient and repeating-conic-gradient, while its responsive size is managed by calc().

Ghost Ships Sticky Header

Ghost Ships Sticky Header

This demo features a responsive navigation block with sticky behavior and a jQuery based scroll animation for the header. The main technical feature is the dynamic style switching between normal and “lightmode” using localStorage to persist the state.

See the Pen Ghost Ships Sticky Header.

CSS List Filtering with :has()

CSS List Filtering with :has()

A comprehensive demonstration of CSS :has() selector and Container Queries capabilities. :has() is used to toggle between light/dark themes and to dynamically filter cards by category without using JavaScript.

See the Pen CSS List Filtering with :has().

CSS Style Switcher with :has()

CSS Style Switcher with :has()

An example of powerful reactivity with :has() - theme switching not only changes colors but also radically reworks the layout, adds stylized shadows, and even changes fonts and background SVG patterns.

See the Pen CSS Style Switcher with :has().

Filter Items in Subgrid with :has()

Filter Items in Subgrid with :has()

A multi-faceted demonstration that implements dynamic card filtering in pure CSS using the :has() selector and radio buttons. CSS Subgrid is used for perfect vertical alignment, and :has() is also leveraged for contextual styling - cards with a special element automatically change their appearance without JS.

Responsive Modal Popup Box

Responsive Modal Popup Box

A responsive share modal pop-up that appears from the bottom on mobile devices and centers on the screen on desktop. The display logic is entirely tied to toggling the .show-modal class using vanilla JS.

See the Pen Responsive Modal Popup Box.

Click-to-Zoom Calendar

Click-to-Zoom Calendar

Explore responsive calendar design featuring a detailed hover and click zoom effect, implemented through precise coordinate calculations to manipulate CSS transform based on the selected date’s index.

See the Pen Click-to-Zoom Calendar.

Skeuomorphic Stopwatch

Skeuomorphic Stopwatch

A skeuomorphic stopwatch built with modern CSS features - CSS Grid for the dial layout, linear-gradient and box-shadow for a realistic look, and animation control managed through CSS variables.

See the Pen Skeuomorphic Stopwatch.

Ticket

Ticket

A ticket layout where data (date, code) is generated on the fly with vanilla JS and inserted into the HTML - styling is done using CSS Grid, drop-shadow, and reusable SVG symbols via the <use> tag.

See the Pen Ticket.

Interactive Fireworks with Babylon.js and CSS nth-child

Interactive Fireworks with Babylon.js and CSS nth-child

An example of efficient resource management in Babylon.js - completed particle systems are tracked and completely removed from the scene with the dispose() method, preventing memory leaks.