Dark themed card component displaying 'DevOps' text, tilting in 3D space with a technology-themed background image shifting in perspective.

3D Parallax Hover Card

demo & code

This 3D Parallax Hover Card creates a premium, tactile feel by mimicking physical depth on a flat screen. As the user moves their cursor over the card, it tilts along the X and Y axes to face the mouse, while the background image shifts in the opposite direction. This compound movement creates a convincing “window” effect, making the content appear to float above the background.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Safari 13+ Firefox 75+
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+
A digital photo of a serene landscape being physically torn in half from top to bottom, revealing another photo underneath, rendered in 3D.

Tearing Paper Photo Gallery

demo & code

This Tearing Paper Photo Gallery is a technical marvel that simulates the physical act of ripping a photograph in half. Unlike simple 2D masking effects, this component uses WebGL (Three.js) to deform the geometry in 3D space. As the user drags downward, the “paper” mesh splits, rotates, and tears along a procedural edge, complete with lighting and shadow effects generated by custom shaders.

Level: Advanced
Browser Support:
Chrome 90+ Edge 90+ Safari 15+ Firefox 90+
A 3D cube displaying photographs on its faces, with the side faces appearing darker due to a simulated lighting effect.

Draggable 3D Cube with Dynamic Lighting

demo & code

This Draggable 3D Cube goes beyond standard CSS 3D transforms by implementing a custom “lighting engine” using JavaScript. As the user drags to rotate the carousel, the opacity of each face is dynamically calculated based on its angle relative to the viewport. This creates a realistic shading effect - faces facing the viewer are bright and fully opaque, while those turning away fade into the background, enhancing the perception of depth without using WebGL.

Level: Intermediate
Browser Support:
Chrome 90+ Edge 90+ Safari 14+ Firefox 88+
A circular arrangement of landscape photographs floating in 3D space on a black background, with a vignette fading the edges.

Draggable 3D Parallax Image Ring

demo & code

This Draggable 3D Parallax Image Ring creates a high-end, immersive gallery experience often associated with WebGL, but built entirely with DOM elements and GSAP. It arranges images in a 3D circle that users can spin with a swipe or mouse drag. The standout feature is the calculated parallax effect: as the ring rotates, the background position of each image shifts in the opposite direction, creating a convincing illusion of depth and window-like transparency.

Level: Advanced
Browser Support:
Chrome 90+ Edge 90+ Safari 14+ Firefox 88+
A 3D cube floating in a dark space, with different scenic photographs mapped to each of its six faces, rotated slightly to show depth.

Interactive 3D Photo Cube

demo & code

This Interactive 3D Photo Cube creates a spatial navigation experience where a user explores six images mapped onto a cube by moving their cursor. Unlike standard sliders, it utilizes CSS 3D transforms orchestrated by GSAP to create a seamless, physics-like rotation. The snippet also features a “window-pane” parallax effect where the background images shift slightly inside their frames, adding an extra layer of depth.

Level: Intermediate
Browser Support:
Chrome 90+ Edge 90+ Safari 14+ Firefox 88+
Dark blue background with a series of animated vertical bars revealing the white text 'Álvaro Montoro' and 'CSS Aficionado'.

Staggered Bars Reveal Animation

demo & code

This Staggered Bars Reveal Animation creates a cinematic intro for landing pages using zero JavaScript. By orchestrating a single pseudo-element (::after) with complex linear-gradient backgrounds, the component simulates seven distinct bars sliding into place. The animation cleverly shifts the background-position of each gradient strip sequentially, creating a rhythmic “wipe” effect that culminates in the text appearing.

Level: Intermediate
Browser Support:
Chrome 100+ Edge 100+ Safari 14+ Firefox 90+
Abstract representation of an image breaking into particles, swirling around invisible centers in a fluid motion.

WebGL Voronoi Particle Transition

demo & code

This WebGL Voronoi Particle Transition is a cutting-edge visual effect that reimagines the standard image slider. Instead of manipulating DOM elements or simple textures, it converts images into a massive system of particles (one for every pixel). During transitions, these particles are subjected to a mathematical storm driven by Voronoi diagrams, creating a liquid, swirling distortion effect that feels organic and computational.

Level: Advanced
Browser Support:
Chrome 90+ Edge 90+ Safari 15+ Firefox 90+
Minimalist web page with the text 'TOKYO TOWER'. A circular area around the mouse cursor reveals a photograph of the tower and changes the text color to white.

Cursor-Tracking Spotlight Reveal Effect

demo & code

This Cursor-Tracking Spotlight Reveal Effect creates a sophisticated “x-ray” or “flashlight” interaction. Initially, the user sees plain text. As the mouse moves, a circular mask follows the cursor, revealing a hidden image underneath and simultaneously inverting the text color to white within the circle. This technique adds depth and playfulness to portfolio links or gallery items without disrupting the layout.

Level: Intermediate
Browser Support:
Chrome 88+ Edge 88+ Safari 14+ Firefox 86+
Minimalist form controls including checkbox, radio button, and toggle switch, featuring organic shapes and blue active states.

Elastic SVG Morphing Form Controls

demo & code

This Elastic SVG Morphing Form Controls set redefines standard UI elements by treating them as organic, malleable shapes. Instead of rigid CSS transitions, it utilizes GSAP’s MorphSVGPlugin to physically warp the vector paths of checkboxes, radio buttons, and switches during interaction. The result is a tactile, “gummy” feel where elements squish upon clicking and snap elastically into their active states.

Level: Advanced
Browser Support:
Chrome 80+ Edge 80+ Safari 13+ Firefox 75+
Blue and dark grey gradient card displaying a news headline, expanding vertically to show a list of items on a white patterned background.

Expandable News Card Widget

demo & code

This Expandable News Card Widget demonstrates a classic pattern for managing content density in UI design. By default, it presents a single “Headline” state to save screen space. Upon interaction, it smoothly transitions into an “Expanded” state, revealing a scrollable list of news items. It utilizes React state to handle the logic and CSS transitions for the visual effect.

Level: Beginner
Browser Support:
Chrome 100+ Edge 100+ Safari 14+ Firefox 90+
A neon blue SVG circle in the process of being 'unwrapped' into a flat horizontal line against a dark background.

GSAP SVG Circle Unwrapping Animation

demo & code

This GSAP SVG Circle Unwrapping Animation is a masterclass in visual sleight of hand. Instead of mathematically morphing a curved path into a straight line (which often results in distorted, unappealing stroke widths), this component creates a seamless illusion. It splits a circle into two halves and synchronizes their movement with a dynamically generated straight line, making it appear as though the circle is being physically unrolled or “unwrapped” like a ribbon.

Level: Advanced
Browser Support:
Chrome 80+ Edge 80+ Safari 13+ Firefox 75+
Minimalist geometric light bulb illustration with a hanging pull cord that triggers a background color change from white to dark blue.

Interactive CSS Light Bulb Toggle

demo & code

This Interactive CSS Light Bulb Toggle transforms a standard theme switch into a playful interaction. It creates a convincing illusion of a physical pull-cord using standard click events. Rather than using a complex physics engine, it relies on precise timing between mouse/touch events and CSS transforms to mimic the tension and release of a rope when the user clicks the button.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Safari 13+ Firefox 70+
Clean bar chart interface showing product sales data with blue bars and a hovering tooltip displaying values.

Simple Alpine.js Bar Chart

demo & code

This Simple Alpine.js Bar Chart offers a minimalist alternative to heavyweight libraries like Chart.js or D3. By leveraging Alpine.js for reactivity and Tailwind CSS for styling, it renders a functional, interactive bar chart with a tiny footprint. It is ideal for dashboards where bundle size is a priority and complex charting features aren’t required.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Safari 14+ Firefox 78+
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+
Dark UI cards with angled bottom corners and a passing light beam effect on the border, demonstrating CSS corner-shape.

Beveled Corner Glow Cards

demo & code

This Beveled Corner Glow Card component demonstrates the bleeding edge of CSS UI styling. It primarily utilizes the new corner-shape property to create chamfered (angled) edges without complex clip-paths, while implementing a sophisticated CSS Mask fallback for older engines. The interaction features a “scanning” light beam effect on the border, powered by CSS Houdini for buttery smooth interpolation.

Level: Advanced
Browser Support:
Chrome 120+ Edge 120+ Firefox 120+ Safari 17+
Stylized night scene drawn in CSS, featuring yellow flowers blooming, green grass swaying, and translucent bubbles with red hearts floating upwards.

Blooming Night Garden Animation

demo & code

This Blooming Night Garden Animation is a delightful example of “CSS Art,” where HTML elements are shaped into complex illustrations using code. It features a complete scene with a textured night sky, procedurally blooming flowers, swaying grass, and a particle system of floating hearts, all brought to life through choreographed CSS keyframes.

Level: Intermediate
Browser Support:
Chrome 100+ Edge 100+ Safari 14+ Firefox 90+
Dark themed UI with glassmorphism panels displaying vibrant color swatches, sliders for HSL adjustment, and accessibility contrast badges.

Glassmorphic HSL Color Palette Generator

demo & code

This Glassmorphic HSL Color Palette Generator is a production-grade design tool that combines advanced color theory logic with a modern, translucent UI. Unlike simple randomizers, it uses HSL (Hue, Saturation, Lightness) mathematics to generate mathematically harmonious schemes (Analogous, Triadic, Split-Complementary) while simultaneously calculating WCAG accessibility ratios in real-time.

Level: Advanced
Browser Support:
Chrome 111+ Edge 111+ Safari 16.2+ Firefox 113+
Vibrant vector fireworks exploding against a dark blue background, featuring varied patterns like rings, rays, and dashed lines.

React SVG Fireworks Celebration

demo & code

This React SVG Fireworks Celebration component delivers a festive visual experience without the overhead of heavy animation libraries like GSAP or Framer Motion. By combining React’s component composition with the lightweight performance of native CSS animations and SVG vector graphics, it renders crisp, scalable explosions suitable for congratulations screens or holiday themes.

Level: Intermediate
Browser Support:
Chrome 100+ Edge 100+ Safari 14+ Firefox 90+
Dark-themed grid of placeholder cards with a shimmering gradient animation that flows sequentially from left to right.

Staggered Gradient Skeleton Loader

demo & code

This Staggered Gradient Skeleton Loader improves perceived performance by providing a visual structure while content fetches in the background. Unlike static placeholders, this Vue.js component utilizes a calculated delay system to create a “wave” animation across the grid, guiding the user’s eye naturally from top-left to bottom-right without using complex JavaScript animation libraries.

Level: Beginner
Browser Support:
Chrome 100+ Edge 100+ Safari 14+ Firefox 90+
A circular 3D carousel of rounded images floating in a dark void, following a complex mathematical curve driven by pure CSS.

Trigonometric 3D Orbit Gallery

demo & code

This Trigonometric 3D Orbit Gallery is a stunning example of “Code Art,” demonstrating the raw power of modern CSS mathematics. Instead of relying on rigid keyframes for positioning, it uses parametric equations to place and animate 32 images along a complex, fluid 3D curve in real-time, creating a perpetual motion machine effect purely with stylesheets.

Level: Advanced
Browser Support:
Chrome 111+ Edge 111+ Safari 16.4+ Firefox 113+
Minimalist navigation menu where the active link 'About' projects a vertical column of fading duplicate text shadows above and below it.

Vertical Ghost Text Hover Effect

demo & code

This Vertical Ghost Text Hover Effect adds a spectral, sci-fi vibe to navigation menus without requiring extra HTML elements or pseudo-elements. By animating a stack of vertical text-shadows, the component creates a fading “echo” or “glitch” visual that expands outward when a user interacts with the link. It utilizes the modern light-dark() function to handle system theme preferences automatically.

Level: Beginner
Browser Support:
Chrome 123+ Edge 123+ Safari 17.5+ Firefox 120+
Minimalist accessibility settings popover with a vertical contrast slider and +/- buttons anchored to a circular trigger button

Accessibility Contrast Controller Popover

demo & code

The Accessibility Contrast Controller Popover is a cutting-edge implementation of user-centric accessibility settings. It provides a non-invasive, floating interface that allows users to adjust the global contrast of a web application in real-time. By leveraging the native Popover API and the new CSS Anchor Positioning specification, this component achieves a highly polished look and feel with minimal JavaScript for layout.

Level: Advanced
Browser Support:
Chrome 125+ Edge 125+ Safari 26+ Firefox 147+
Sleek dark mode accordion UI with glassmorphism effects and smooth expand animations inspired by Apple product pages

Apple-Style Smooth Animated Accordion

demo & code

The Apple-Style Smooth Animated Accordion is a cutting-edge UI component that achieves high-end animation results without a single line of JavaScript. Inspired by the sleek marketing pages of Apple, it utilizes the newest CSS specifications to solve the age-old problem of animating to height: auto while maintaining full accessibility through semantic HTML.

Level: Intermediate
Browser Support:
Chrome 131+ Edge 131+
Background image card with a smooth bottom black gradient overlay created using the CSS border-image fill property for better text contrast

Border Image Fill Gradient Overlay

demo & code

The Border Image Fill Gradient Overlay is a minimalist CSS technique used to add a decorative or functional gradient over background images. Unlike traditional methods that require extra HTML markup or ::before/::after pseudo-elements, this approach uses a single, underutilized property to enhance text contrast and visual depth.

Level: Beginner
Browser Support:
Chrome 15+ Edge 12+ Firefox 15+ Safari 6+
Minimalist dark navigation bar with a glassmorphism sliding background highlight that follows the mouse using CSS Anchor Positioning.

CSS Anchor Positioning Navigation Effect

demo & code

This CSS Anchor Positioning Navigation Effect is a masterclass in modern web standards, achieving a complex “sliding highlight” interaction entirely without JavaScript. By leveraging the new Anchor Positioning API alongside the :has() selector, the component allows a single background element to tether itself to whichever menu item is currently hovered, creating a premium, app-like feel with minimal code overhead.

Level: Advanced
Browser Support:
Chrome 125+ Edge 125+
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+
Modern purple gradient accordion using CSS calc-size and details-content pseudo-element for smooth height animations

Pure CSS Animated Details Accordion

demo & code

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.

Level: Intermediate
Browser Support:
Chrome 129+ Edge 129+
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

demo & code

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.

Level: Advanced
Browser Support:
Chrome 111+ Edge 111+ Safari 16.4+ Firefox 128+
3D stacked white user profile cards with depth blur and perspective transform on hover against a vibrant purple gradient background

3D Stacking Card List Effect

demo & code

This 3D Stacking Card List Effect transforms a standard vertical list into an immersive, layered user interface. By leveraging CSS 3D transforms and focal blur filters, it simulates a physical deck of cards where background items appear distant and out of focus, settling into a clear layout only upon interaction.

Level: Intermediate
Browser Support:
Chrome 84+ Edge 84+ Firefox 63+ Safari 14.1+
Three color-coded notification cards showing success green, working yellow, and error red states with animated SVG face icons and buttons

Animated Feedback Alert Cards

demo & code

These Animated Feedback Alert Cards provide a high-polish way to communicate application states like success, ongoing processes, and errors. Each card utilizes a cohesive design system of rounded geometry and custom SVG icons that “draw” themselves into existence, offering immediate and delightful tactile feedback to the user.

Level: Intermediate
Browser Support:
Chrome 36+ Edge 12+ Firefox 16+ Safari 9+
A sleek dark card UI with a central logo and a dynamic background of randomized characters revealed by a radial gradient mask following the mouse.

Hyperplexed Evervault Card Hover Effect

demo & code

This Hyperplexed Evervault Card Hover Effect utilizes dynamic character generation and CSS masking to create a high-tech “decryption” visual. It replicates the sophisticated card interactions found on the Evervault website, blending procedural text with mouse-responsive radial gradients.

Level: Intermediate
Browser Support:
Chrome 80+ Edge 80+ Firefox 75+ Safari 13+
A stylized 3D autumn tree with glowing red and yellow leaves that fall and flutter to the ground when the mouse hovers over them

Interactive 3D Falling Leaves Shader

demo & code

This Interactive 3D Falling Leaves Shader is a sophisticated WebGL demonstration built with Three.js that showcases efficient rendering of thousands of unique objects. By utilizing InstancedMesh and custom GLSL shaders, it creates a stylized autumn tree where leaves respond to wind, sway realistically, and “die” (fall off) either randomly or through user interaction via raycasting.

Level: Advanced
Browser Support:
Chrome 84+ Edge 84+ Firefox 63+ Safari 14.1+
Minimalist toggle switch morphing from a sun icon to a moon icon using pure CSS transitions and the :has selector

Pure CSS Morphing Dark Mode Toggle

demo & code

This Pure CSS Morphing Dark Mode Toggle is a sophisticated implementation of a theme switcher that eliminates the need for JavaScript. By utilizing the modern CSS :has() relational selector and complex transform logic, the component morphs a sun icon into a moon icon seamlessly. It offers a premium feel through the use of custom cubic-bezier timing and modular CSS construction.

Level: Intermediate
Browser Support:
Chrome 105+ Edge 105+ Safari 15.4+ Firefox 121+
Close-up of text with a link showing a light blue highlighter background that collapses into an underline with a small arrow on hover.

Stylish Highlighter Link Hover Animation

demo & code

This Highlighter Link Hover Effect provides a sophisticated micro-interaction for inline text links, moving beyond the standard static underline. By default, the link is covered by a soft, semi-transparent background fill; upon hovering, this “highlighter” block collapses into a thin underline while a directional arrow slides in from the right.

Level: Beginner
Browser Support:
Chrome 36+ Edge 12+ Firefox 16+ Safari 9+
Dark button with a wand icon; on hover, purple dots float around it like magic dust, and the icon's stars twinkle

GSAP Sparkle Generate Button

demo & code

This GSAP Sparkle Generate Button adds a touch of magic to standard call-to-action elements. Designed for AI generation tools or creative apps, it features a sophisticated hover effect where particles (dots) spawn and float organically around the button. The animation is driven by GreenSock’s Physics2DPlugin, simulating gravity and velocity for a realistic “dust” movement.

Level: Intermediate
Browser Support:
Chrome 60+ Edge 79+ Firefox 55+ Safari 11+
A mobile app interface mockup showing a rounded 'Compose' button in the bottom right corner; on click, it expands to fill the screen

Material 3 Floating Action Button (FAB)

demo & code

This Material 3 Floating Action Button (FAB) brings Google’s latest design language to life. Unlike standard FABs that just act as triggers, this component showcases a sophisticated “morph” transition. Upon interaction, the small corner button fluidly expands into a full-screen modal or form, maintaining visual continuity and providing a high-quality, app-like experience.

Level: Intermediate
Browser Support:
Chrome 49+ Edge 15+ Firefox 43+ Safari 10+
Black 'Submit' button on a gray background; on hover, an arrow icon slides out from the right; on click, it transforms into a spinning loader

Micro-Interaction Loading Button

demo & code

This Micro-Interaction Loading Button demonstrates how to pack multiple feedback states into a single UI element without cluttering the interface. It starts as a clean “Submit” button. Hovering reveals a directional arrow, hinting at action. Clicking triggers a seamless loading sequence where the arrow transforms into a spinner, finally resolving into a checkmark to confirm success.

Level: Intermediate
Browser Support:
Chrome 49+ Edge 15+ Firefox 43+ Safari 10+
Retro 80s scene with a neon sun, scrolling grid floor, palm trees, and the back of a DeLorean car driving into the horizon

Pure CSS Synthwave 80s Animation

demo & code

This Pure CSS Synthwave 80s Animation captures the nostalgic aesthetic of the 1980s retrowave genre. It features a complete animated scene: an infinite neon grid, a setting sun with scanlines, shaking palm trees, and a DeLorean driving into the distance. The scene is brought to life with a driving synthwave audio track and intricate CSS-only motion.

Level: Advanced
Browser Support:
Chrome 60+ Edge 79+ Firefox 55+ Safari 11+
Web page showing pizza ingredients like mushrooms and peppers flying onto a dough base as the user scrolls, creating a visual assembly effect

ScrollMagic Pizza Assembly Animation

demo & code

This ScrollMagic Pizza Assembly Animation transforms a standard product landing page into an interactive storytelling experience. As the user scrolls down, individual pizza ingredients - peppers, mushrooms, olives - fly in from different directions to assemble a complete pizza. The sequence is tightly choreographed using GSAP timelines pinned to the scroll position, giving the user direct control over the “cooking” process.

Level: Intermediate
Browser Support:
Chrome 50+ Edge 15+ Firefox 45+ Safari 10+
Dark purple button with a sparkle icon and 'Generate Site' text; on hover, small white stars float around it

Sparkle Generate Button

demo & code

This Sparkle Generate Button adds a touch of delight to AI or creative tools. When hovered, the button doesn’t just change color - it emits a cloud of floating “sparkles” (particles) that drift and rotate. The effect is powered by CSS variables for performance, with a lightweight JavaScript snippet to randomize the particle paths, ensuring the animation feels organic and magical every time.

Level: Intermediate
Browser Support:
Chrome 60+ Edge 79+ Firefox 55+ Safari 11+
Minimalist black text on white background showing a nested folder structure drawn with ASCII pipe characters

Pure CSS ASCII File Tree

demo & code

This Pure CSS ASCII File Tree brings the nostalgia of command-line directory structures to the web without typing a single pipe character manually. By cleverly utilizing CSS pseudo-elements (::before), it automatically draws the connecting lines (, , ) for nested lists. It’s perfect for technical documentation, sitemaps, or retro-themed interfaces.

Level: Beginner
Browser Support:
Chrome 4+ Edge 12+ Firefox 3.5+ Safari 3.1+
Dark UI card displaying a vertical range slider with a central value readout; blue theme for temperature mode, orange for brightness mode

Smart Home Temperature & Light Slider

demo & code

This Smart Home Temperature & Light Slider is a modern control component designed for IoT dashboards. It combines a thermostat and a dimmer switch into a single, compact interface. Users can toggle between “Temperature” (Celsius) and “Brightness” (Lumens) modes, triggering a smooth color transition from cool blue to warm amber, providing immediate visual context.

Level: Intermediate
Browser Support:
Chrome 49+ Edge 15+ Firefox 43+ Safari 10+
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+
Black background with a circular arrangement of the words TICK and TOCK; one TOCK word is highlighted in yellow to indicate the current second

Tick-Tock Typographic Clock

demo & code

This Tick-Tock Typographic Clock reimagines the traditional clock face by replacing ticks and numbers with words. Using a clever SCSS loop, it arranges 60 text elements (“TICK” for even seconds, “TOCK” for odd) in a perfect circle. A JavaScript interval updates the active class every second, creating a rhythmic, reading-based timekeeping experience.

Level: Beginner
Browser Support:
Chrome 49+ Edge 15+ Firefox 43+ Safari 10+
Dark blue background with a large yellow Trigram Unicode character in the center, acting as a minimal loading spinner

Unicode Character Spinner Loader

demo & code

This Unicode Character Spinner Loader offers an ultra-lightweight alternative to image or CSS-heavy loading indicators. By cycling through a specific string of Unicode characters (like Trigrams, Braille patterns, or geometric shapes), it creates the illusion of motion or rotation using nothing but text. It’s an excellent choice for command-line interfaces (CLI) on the web or retro-styled applications.

Level: Beginner
Browser Support:
Chrome 1+ Edge 12+ Firefox 1+ Safari 1+
White card with truncated text about ducks and a 'Read more' button; when expanded, it reveals the full article with a smooth height transition

Vue.js Read More Expansion

demo & code

This Vue.js Read More Expansion solves the classic “animate to height: auto” problem. It’s a robust component that truncates long text content and allows users to reveal the full article with a smooth animation. Unlike naive implementations that guess max-height, this solution calculates the exact pixel height of the content to ensure a perfect transition every time.

Level: Intermediate
Browser Support:
Chrome 49+ Edge 15+ Firefox 43+ Safari 9.1+
Dark themed 3D labyrinth view from above with a glowing ball and neon-colored walls tilting based on keyboard input

3D Tilt Maze Game

demo & code

This 3D Tilt Maze Game recreates the classic wooden labyrinth toy using web technologies. By combining CSS perspective with JavaScript keyboard events, it simulates a physical board that tilts to roll a ball. The game includes a rudimentary physics engine for ball movement and wall collision, complete with multiple levels generated from array maps.

Level: Intermediate
Browser Support:
Chrome 36+ Edge 12+ Firefox 16+ Safari 9+
Stacked gray accordion headers with plus icons; one section is expanded showing nursery rhyme text and a dedicated 'Close' button at the bottom

Accessible Collapsible Content Accordion

demo & code

This Accessible Collapsible Content snippet demonstrates how to build an accordion that strictly adheres to WAI-ARIA guidelines. Unlike typical accordions that only focus on the “slide” animation, this component prioritizes semantic structure and screen reader compatibility. A unique feature is the inclusion of a dedicated “Close” button inside the expanded panel, which improves usability for long content sections.

Level: Beginner
Browser Support:
Chrome 5+ Edge 12+ Firefox 4+ Safari 5+
A horizontal line of white dots on a blue background; the first dot is hitting the others, causing them to jump and squash with cartoon physics

GSAP CustomBounce Loading Loader

demo & code

This GSAP CustomBounce Loader demonstrates how to inject personality into a standard waiting state using cartoon physics. It depicts a kinetic chain reaction: a “driver” dot hits a line of idle dots, causing them to jump, squash, and stretch. This example showcases the power of GreenSock’s CustomBounce plugin to create realistic (yet stylized) material deformations.

Level: Intermediate
Browser Support:
Chrome 60+ Edge 79+ Firefox 55+ Safari 11+