Three toggle switches stacked vertically on a grey background, displaying different colors (cyan, green, yellow) and a glowing neon border track.

Neon Glow Toggle Switch

This is a Neon Glow Toggle Switch. It replaces a standard HTML checkbox with a highly tactile, skeuomorphic control. Its function is to provide satisfying visual feedback for state changes, utilizing a “filling” neon border and a sliding, textured handle to make binary selections feel like engaging physical hardware.

Technologies:
HTML CSS
Difficulty: Intermediate
Browser Support (as of Mar 2026):
Chrome Chrome 85+ Edge Edge 85+ Firefox Firefox 128+ Safari Safari 16.4+
Features:
CSS @property Skeuomorphism Conic-gradient Mask Dark Mode Ready
License: MIT

See the Pen Neon Glow Toggle Switch.

Geometric abstract art featuring six panels with blinking neon pink and blue sections that simulate 3D cubes using CSS conic gradients and keyframe animations.

Generative Glitch Cube Art

This is Generative Glitch Cube Art. It is a piece of procedural digital art created entirely with CSS. Its function is to demonstrate how complex, three-dimensional geometry and dynamic lighting effects can be simulated without JavaScript or SVG, relying solely on multi-layered conic-gradient backgrounds and CSS custom property animation.

Technologies:
HTML SCSS
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 85+ Edge Edge 85+ Safari Safari 16.4+ Firefox Firefox 128+
Features:
Conic Gradients CSS @property Glitch Animation No JavaScript
License: MIT

See the Pen Generative Glitch Cube Art.

Two responsive buttons with iridescent glowing borders that react to mouse position, shown in both light and dark mode variants

Mouse-Reactive Iridescent Button

This is a Mouse-Reactive Iridescent Button. It uses a sophisticated layering of CSS conic gradients and JavaScript pointer tracking to create a button with a vibrant, shimmering border that physically follows the user’s cursor. Its function is to provide a high-end, tactile micro-interaction that makes a standard call-to-action feel like a premium, light-sensitive object.

Technologies:
HTML SCSS JavaScript
Difficulty: Intermediate
Browser Support (as of Mar 2026):
Chrome Chrome 122+ Edge Edge 122+ Firefox Firefox 128+ Safari Safari 16.4+
Features:
Mouse Tracking Iridescent Glow CSS @property Display-P3 Colors
Code by: LukyVJ LukyVJ
License: MIT
Black and white optical illusion geometric pattern generated with pure CSS gradients

Optical Illusion CSS Background Pattern

This is an Optical Illusion CSS Background Pattern. It generates a complex, interlocking geometric tessellation using only mathematical gradient overlays. Its function is to provide a visually striking, lightweight background texture without requiring external image assets.

Technologies:
CSS
Difficulty: Intermediate
Browser Support (as of Mar 2026):
Chrome Chrome 69+ Edge Edge 79+ Firefox Firefox 83+ Safari Safari 12.1+
Features:
Pure CSS Gradient Overlays Minimal Footprint
License: MIT
Flat design retro arcade machine with a glowing screen, joysticks, and coin slots created entirely with CSS gradients

Pure CSS Retro Arcade Machine

This is a Pure CSS Retro Arcade Machine. It constructs a highly detailed, nostalgic gaming cabinet entirely out of HTML nodes and CSS styling. Its function is to showcase the power of CSS as an illustrative medium, replacing static raster images or SVGs with resolution-independent, scalable code.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 69+ Edge Edge 79+ Firefox Firefox 83+ Safari Safari 12.1+
Features:
Pure CSS Gradient Art Viewport Scaling
Code by: Josetxu Josetxu
License: MIT

See the Pen Pure CSS Retro Arcade Machine.

Full-screen hero section displaying a vivid blue-to-orange conic gradient background using OKLCH color space with centered white typography

Vibrant OKLCH Conic Hero

For too long, the web has been trapped in the dull, muddy spectrum of sRGB. We accept “gray dead zones” in our gradients as a fact of life. No more. This hero section embraces the OKLCH color space to deliver vibrance that matches the human eye’s perception. It is not just a background; it is a radiant, high-definition light source that bathes your typography in pure energy. (Requires: open-props)

Technologies:
HTML CSS
Difficulty: Beginner
Browser Support (as of Feb 2026):
Chrome Chrome 111+ Edge Edge 111+ Firefox Firefox 113+ Safari Safari 15.4+
Features:
Wide Gamut Colors Perceptual Uniformity Conic Gradient Progressive Enhancement
Code by: Arby Arby
License: MIT

See the Pen Vibrant OKLCH Conic Hero.

Equilateral triangular images with soft rounded corners achieved through CSS masking and trigonometric math, overlapping on a vibrant background.

Rounded Triangle CSS Image Mask

This Rounded Triangle CSS Image Mask offers a mathematically perfect way to shape visuals into equilateral triangles with soft, professional edges. It is an ideal choice for high-end portfolio galleries, creative team sections, or landing pages where standard rectangular or circular crops feel too conventional. By leveraging modern CSS math, the shape remains perfectly symmetrical regardless of the image dimensions.

Technologies:
HTML CSS
Difficulty: Intermediate
Browser Support (as of Feb 2026):
Chrome Chrome 105+ Edge Edge 105+ Firefox Firefox 121+ Safari Safari 15.4+
Features:
Trigonometric Math Adjustable Radius Gradient Masking Responsive Geometry
Code by: Temani Afif Temani Afif
License: MIT
Dark UI cards with angled bottom corners and a passing light beam effect on the border, demonstrating CSS corner-shape.

Beveled Corner Glow Cards

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.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Jan 2026):
Chrome Chrome 120+ Edge Edge 120+ Firefox Firefox 120+ Safari Safari 17+
Features:
CSS Corner Shape Houdini (@property) CSS Masks Progressive Enhancement
Code by: Ana Tudor Ana Tudor
License: MIT

See the Pen Beveled Corner Glow Cards.

A simple illustration of a bicycle created entirely with pure CSS.

Bicycle

A pure CSS bicycle illustration constructed from geometric primitives using absolute positioning and vmin units for responsiveness. conic-gradient simulates wheel spokes, transform: skewX shapes the frame, and inset box-shadow adds depth, while pseudo-elements efficiently duplicate components like wheels.

See the Pen Bicycle.

An image framed by a decorative, wavy border created with pure CSS masks and gradients.

Images Inside Wiggly Boxes

A decorative image frame created entirely with CSS mask compositing. It combines radial-gradient layers with conic-gradient and the intersect composite operator to sculpt a scalloped, wavy border, while the CSS round() function ensures perfect pattern alignment along the edges.

See the Pen Images Inside Wiggly Boxes.

A detailed vector-style portrait of a person created entirely with pure CSS.

Profile CSS Drawing

A stylish, detailed vector-style portrait with depth and shadows, fully implemented using pure CSS gradients and clipping paths.

See the Pen Profile CSS Drawing.

The letters of the alphabet rendered in a colorful, geometric style using pure CSS gradients.

Shapes Alphabet with CSS

A pure CSS typography experiment rendering the full alphabet using layered gradients.

See the Pen Shapes Alphabet with CSS.

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.

CSS-Only Pattern: Squares in Squares

CSS-Only Pattern: Squares in Squares

A tartan plaid pattern generated entirely with CSS.

Single Element Progress

Single Element Progress

Elegant, segmented radial charts that smoothly fill upon page load, showcasing the capabilities of modern CSS without JavaScript.

See the Pen Single Element Progress.

CSS Donut Chart for a File Manager UI

CSS Donut Chart for a File Manager UI

This component features a sophisticated donut chart created entirely with CSS, using a conic-gradient masked with a radial-gradient to create the arcs. The chart’s data is dynamically rendered from Pug variables into CSS Custom Properties, which then control the size and color of each segment.

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

Fancy Corner Decoration for Images

Fancy Corner Decoration for Images

A border effect for an <img> tag - the size of the decorative edge, created with repeating-conic-gradient and -webkit-mask, is dynamically calculated via a complex calc() function controlled by CSS variables.

Change Bass Color with Hue

Change Bass Color with Hue

A simple example of media control - a click event in vanilla JS is used both to control the HTML5 Audio API and to dynamically change the hue-rotate CSS filter.

See the Pen Change Bass Color with Hue.

CSS Knob Widget with Range Slider

CSS Knob Widget with Range Slider

A demonstration of the power of CSS and Sass - the knob is a standard range slider where the thumb is styled as a knob, and its transform: rotate is calculated based on the input’s value via CSS variables updated by JS.

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.

Animated Border Gradient Glow

Animated Border Gradient Glow

An animated rainbow border effect with a neon glow, implemented using @property, conic-gradient, and SVG filters. The @keyframes animation smoothly changes the --a CSS variable, which controls the hue in the conic-gradient, creating a continuous color transition.

See the Pen Animated Border Gradient Glow.

ctrl+c ctrl+v Keys RGB

ctrl+c ctrl+v Keys RGB

A decorative keyboard with a realistic press effect and dynamic, iridescent RGB backlighting, reminiscent of gaming keyboards.

See the Pen ctrl+c ctrl+v Keys RGB.

Animate Single img Gradient Glow Border With CSS + SVG Filter Enhancement

An animated rainbow border with a neon glow, created using @property, repeating-conic-gradient, and SVG filters. The @keyframes CSS animation continuously changes the --a CSS variable, which controls the angle of the conic-gradient, creating a rotating rainbow effect.

The Half-Rombes Pattern

The use of the atan() function in SCSS to calculate the angles for a conic-gradient, which allows for the creation of a complex geometric pattern. The entire page background is set with a single background property, demonstrating the power and conciseness of modern CSS.