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.

Technologies:
Pug SCSS
Difficulty: Advanced
Browser Support (as of Jan 2026):
Chrome 111+ Edge 111+ Safari 16.4+ Firefox 113+
Features:
CSS Trigonometry Houdini API (@property) 3D Transforms Parametric Animation
CSS-Only Testimonials Using Scroll Snap

CSS-Only Testimonials Using Scroll Snap

A powerful demonstration of building a full-featured carousel entirely with CSS, leveraging experimental ::scroll-button, ::scroll-marker, and position-anchor for navigation, indicators, and positional layout without any JavaScript.

CSS-Only Carousel using ::scroll-* Pseudo-Elements [Demo 2]

CSS-Only Carousel using ::scroll-* Pseudo-Elements [Demo 2]

A showcase of the newest CSS capabilities for component building: a complete carousel where navigation buttons (::scroll-button) and marker dots (::scroll-marker) are automatically generated and styled, and the initial item is set via scroll-initial-target.

Animated Image Slider with HTML, CSS & JavaScript

Animated Image Slider with HTML, CSS & JavaScript

An impressive 3D-like slider built with pure JavaScript (appendChild/prepend methods) for infinite scrolling, utilizing CSS transforms and custom @keyframes for dynamic content entrance.

CSS Carousel with HDR Color Palettesexternal link

A horizontally scrolling carousel built with CSS Grid and subgrid — each card’s visual and content rows stay aligned. Native CSS scroll‑marker buttons handle navigation with no JavaScript. Open Props tokens manage spacing, color, and typography; the interface adapts to light/dark mode and supports reduced motion.

Nintendo Switch UI Recreation with CSSexternal link

A horizontally scrollable game carousel with custom scrollbars and snap points. JavaScript adds click‑to‑scroll and sound feedback on snap events. CSS scroll‑state queries highlight the snapped item and animate its title; progressive enhancement ensures fallbacks for unsupported browsers.

Trip Overview Carousel with Scroll-State Queriesexternal link

Experimental trip carousel using CSS scroll‑snap, scroll markers, and anchor positioning. Each day card reveals details on hover or when snapped. A plane icon follows the active marker. Counters for day numbers are currently broken; the layout relies on modern, partially supported CSS features.

CSS Image Stack Cycleexternal link

An exceptionally complex image slider/stack UI component, fully implemented via CSS custom properties and CSS Houdini to allow the animation of abstract numerical values; the system uses complex mathematics to control the 3D stacking order, the “fly-out” effect, and random rotation, creating a looping, cascading stack with smooth transitions.

Shuffling Effect in Pure CSSexternal link

Efficient layout using CSS Grid to stack cards on top of each other, with dynamic layer control via z-index and the :has() selector to determine the position of the next element; the image animation includes movement and straightening of the rotation upon selection.

Butterflies (CSS Cards)external link

A butterfly selector built with the radio‑button hack — hidden inputs control a circular menu rotation via :has() and CSS custom properties. Items are positioned around the circle using trigonometric‑like calculations with calc(). Content fades in with staggered transitions; navigation buttons are enabled/disabled based on selection.

Card Carousel (CSS Only)

Card Carousel (CSS Only)external link

JavaScript injects a fixed “Buy me a coffee” button with a spinning SVG ring. Below, an 8‑card carousel uses 3D transforms — each card is positioned around a circle with rotateZ and translateZ, then rotated upright. Hover pauses the rotation; background images cycle via Picsum. The markup is generated with a Ruby‑style loop (Pug/Slim) but rendered as static HTML.

Card Carousel (Hover Over Card to Pause Scroll)external link

A pure‑CSS marquee carousel — each card is absolutely positioned and animated with translateX. Animation delays are calculated per item based on its index, creating a seamless loop. Masking fades edges, light-dark() handles theme colors, and the layout uses subgrid for vertical alignment. No JavaScript.

CSS Sprite-Based Flip Carousel Using Scroll-Timelineexternal link

A modern implementation of interactive page flipping where the sprite animation (background-position) is fully synchronized with page scrolling using the new CSS scroll-timeline feature, eliminating JavaScript for timing control.

CSS Vertical Carousel Animationexternal link

A vertical carousel built with CSS only — items are absolutely positioned and animated via keyframes. Animation delays are calculated with Sass fractions, creating a seamless, staggered flow. The design relies on fixed heights and negative margins; content is hardcoded emojis and text.

Pure CSS Carouselexternal link

SCSS mixins and loops generate a tab‑style interface where radio inputs control content sliding. Each item has a pictogram and description; animations are handled by slidein and slideout keyframes. The layout uses fixed dimensions and absolute positioning — works as a self‑contained UI demo.