A cute cartoon rabbit (Scorbunny) made of CSS shapes with orange and yellow accents. It blinks, wiggles its ears, and smiles when hovered.

Pure CSS Animated Scorbunny

demo & code

This Pure CSS Animated Scorbunny showcases the power of CSS as an illustration tool. Without a single SVG or image file, it constructs a recognizable character using nested divs, gradients, and advanced border-radius manipulation. The character feels alive thanks to continuous idle animations (blinking eyes, wiggling ears) and a joyful reaction when the user hovers over it.

Level: Intermediate
Browser Support: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Dark UI button that reveals a floating tooltip composed of three sliding black plates with technical text and monospaced tags

Tectonic Stacked Tooltip Button

demo & code

This Tectonic Stacked Tooltip creates a sophisticated, industrial-grade micro-interaction. Instead of a simple fade-in, the tooltip constructs itself from multiple sliding “plates” (slabs) that expand outward upon hovering. With its dark aesthetic, noise textures, and precise easing, it fits perfectly into sci-fi games, technical dashboards, or brutalist web designs.

Level: Intermediate
Browser Support: Chrome 60+, Edge 79+, Firefox 55+, Safari 12+
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 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+
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+
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+
A 3D scene with a soda can and rocks that creates a depth effect on hover using only CSS.

CSS-Only 3D Animation

Upon hovering over the soda can, it “comes alive” (changing angle/label), while the foreground rocks slide apart, creating a dynamic 3D depth effect entirely via CSS.

See the Pen CSS-Only 3D Animation.

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.

An expanding image gallery where hovering over an item causes it to widen and reveal more content.

Animated Grid Tracks with :has()

A pure CSS expanding gallery powered by the modern :has() selector. Hovering triggers a grid-template-columns transition, widening the active item while revealing content via opacity and transform animations, all styled with blend modes for a tinted monochrome aesthetic.

See the Pen Animated Grid Tracks with :has().

Dark-themed nested to-do list with custom gradient markers and hover-reveal sub-tasks.

Little Details

A stylized nested to-do list employing advanced CSS pseudo-elements for custom markers and hover-based reveal logic for sub-tasks. JavaScript handles basic DOM manipulation for adding/removing items, while the dark UI features gradient borders and tooltip interactions.

See the Pen Little Details.

:has() Pseudo-Class Selector

:has() Pseudo-Class Selector

An elegant and intuitive menu that helps the user focus on the item of interest by visually dimming the others.

See the Pen :has() Pseudo-Class Selector.

Image Peeling Hover Effect

Image Peeling Hover Effect

Hovering over the grid triggers a light flare sweep, transforming the images from a distorted, stretched state into their sharp, original form, creating a futuristic transition effect.

See the Pen Image Peeling Hover Effect.

Mac Dock Magnify Effect with :has

Mac Dock Magnify Effect with :has

A Dock menu where the scaling effect on hover is implemented entirely in CSS using :hover and :has() selectors - this allows scaling not only the active element but also its neighbors.

Neon Icon Hover Effect

Neon Icon Hover Effect

A navigation menu with a neon glow and a complex hover effect. Icons and text use the CSS drop-shadow filter to create a glow effect, while the element’s color is controlled via an inline CSS variable --clr.

See the Pen Neon Icon Hover Effect.

Cosmic Neon Text Effect

Cosmic Neon Text Effect

A spectacular, interactive heading design: on hover, the text stroke disappears, giving way to a powerful, multi-colored neon glow. It’s a perfect demonstration of pure CSS capabilities for creating complex typography and “wow” effects.

See the Pen Cosmic Neon Text Effect.

CSS-Only Image Tilt Towards Cursor

CSS-Only Image Tilt Towards Cursor

A 3D image tilt effect that mimics cursor movement, achieved purely with CSS by combining multiple invisible overlay zones, the general sibling combinator, and the transform: rotate3d() function with perspective on the parent container.

Animated Pie Chart (V2)

Animated Pie Chart (V2)

A demo showcasing an adaptive, unique “ring” pie chart design using SVG circles, where each segment is animated and colored from a predefined JavaScript array.

See the Pen Animated Pie Chart (V2).

The Witcher Monster Cards Slider

The Witcher Monster Cards Slider

Showcases a stylish, interactive monster card slider, utilizing pure HTML and CSS for complex design, custom typography, and subtle image animations with a zoom/lift effect on hover.

See the Pen The Witcher Monster Cards Slider.

Note-Taking Toolbar with Dynamic Tooltip

Note-Taking Toolbar with Dynamic Tooltip

This is a sleek, reusable Note-Taking Toolbar component, utilizing pure CSS for :hover and :active effects (including the dynamic tooltip), and basic JavaScript to manage a single selected state without external libraries.

CSS-Only Character Profile Card with Tabs

CSS-Only Character Profile Card with Tabs

A stylish custom layout (character profile card) built entirely on CSS positioning and content switching using HTML radio inputs without JavaScript, effectively creating pure CSS tabs.

Photo Gallery Grid Animation with CSS Clip-Path

Photo Gallery Grid Animation with CSS Clip-Path

A showcase of the creative application of clip-path to create an “unfolding” image effect on hover, where the interaction not only changes the shape but also uses z-index to elevate the element and overlap neighboring tiles.

Just Bored Vol. 3 - Creative Post UI

Just Bored Vol. 3 - Creative Post UI

A visually complex component focusing on non-standard geometry (border-radius: 0 150px 0 10px) and an impressive avatar hover effect (gradient shift, filter: brightness(), and information blur/fade-out) implemented purely with CSS.

CSS Staircase Hover Effect Using :has()

CSS Staircase Hover Effect Using :has()

This “staircase” hover effect is a prime example of the power of the new CSS :has() selector. It enables elements to react to the state of their siblings, creating a complex and elegant animation without JavaScript.

Image Orbit Animation with CSS

Image Orbit Animation with CSS

This carousel effect demonstrates a modern approach to CSS animations, using the offset-path property for circular motion. The complex scaling and highlighting effects on hover are achieved purely with CSS transitions and the :has() selector, eliminating the need for JavaScript.

See the Pen Image Orbit Animation with CSS.

Image Polygon Overlay

Image Polygon Overlay

A technically advanced effect where SVG paths are used to create an animated grid over an image. The demo showcases how CSS transitions can be applied to SVG attributes, which is a modern and performant way to create complex visual effects.

See the Pen Image Polygon Overlay.

Apple Liquid Glass Effect

Apple Liquid Glass Effect

This demo creates a stunning “liquid glass” effect by layering a CSS backdrop-filter with a complex SVG filter. The realistic distortion and specular highlights are achieved using feTurbulence and feSpecularLighting, all without a single line of JavaScript.

See the Pen Apple Liquid Glass Effect.

CSS Turbulent Hover Effect

CSS Turbulent Hover Effect

Check out this interactive card that uses an animated SVG filter to create a unique “glitch” or “noise” effect on hover. The effect is triggered purely by CSS :hover and SVG’s declarative animation, combining feTurbulence with an animated feDisplacementMap for a seamless distortion.

See the Pen CSS Turbulent Hover Effect.

Splitting.js Image Hover Effect

Splitting.js Image Hover Effect

This demo shows how modern CSS can power rich interactions. It combines Splitting.js and advanced CSS Grid with dynamic custom properties to create a complex, performant, and responsive image hover effect.

See the Pen Splitting.js Image Hover Effect.

Slide In/Out Gallery Effectexternal link

An atmospheric, cyberpunk gallery where static images feel alive due to constantly shifting digital artifacts and smooth caption reveals on hover.

Card with Glitch Effect

Card with Glitch Effectexternal link

This Cyberpunk-inspired card features a complex box-shadow offset and text-shadow for the core CRT aesthetic, paired with a dynamic :hover state that uses transform to instantly swap the terminal view for a social icon grid.

Skateboard Product Gridexternal link

This demo showcases a responsive grid built on modern CSS technologies: CSS Grid for layout, Custom Properties for centralized theme management, and Fluid Typography using clamp() for ’elastic’ font sizes. The key feature is a complex animation system, including a staggered appearance of cards and advanced :hover effects using animated SVG.

Gummy Buttonsexternal link

A “gummy” button animation in pure CSS, where the effect is achieved by simultaneously animating transform: scale() and border-radius. Separate @keyframes are used for the :hover and :active states, creating a unique tactile response.

Buttonexternal link

The main button has a semi-transparent background, the ::before pseudo-element contains the animated gradient, and ::after has a solid dark background that “cuts out” the inner part, leaving only the border visible.

CSS Gradient Buttonexternal link

A multi-layered button where the background, border, and pseudo-elements are styled with different linear-gradients. A SCSS mixin, @mixin buttonLayer, is used for reusing the styles of the pseudo-elements.

Badge Made With CSSexternal link

The badge uses background: rgba() and backdrop-filter: blur(10px) to create a translucent, frosted look. A double layer with ::before adds depth and enhances the blur effect.

Badgeexternal link

An interactive hover animation that separates elements in 3D space. On container hover, one element animates with transform: rotateX(70deg), while another gets a grow animation, creating an effect of depth and dynamism.

Animated Trianglesexternal link

An interactive animation on hover where triangles smoothly change their shape. The effect is achieved by animating the border-width property - when hovering over the .wrap container, the transparent borders of the triangles become colored, and vice-versa.

Cool 3D Textexternal link

This pseudo-3D text effect is achieved purely through multilayered text-shadow with sequential displacement, simulating depth. Upon hover, the shadows are inverted and combined with a transform: scale(1.1), creating a dynamic pop-up illusion.

Shape Zoom Transitionexternal link

A cinematic image transition powered by CSS mask-image, featuring a vector-based shape zoom effect to reveal underlying content. This performant snippet demonstrates advanced manipulation of mask-size and filter properties, offering a sleek, JavaScript-free solution for creative storytelling and immersive web design.