Cards
Holographic Iridescent
A 3D-tilting card with a warm iridescent sheen and conic foil chip that shift with pointer position; drifts idly when not hovered.
cssmedium complexitymoderate motionpointer
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Product cards, trading card showcases, premium UI hero elements needing a luxury tactile feel.
When not to
Light backgrounds (dark gradient hardcoded). Contexts where constant motion competes with surrounding content.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the foil chip colors by editing the conic-gradient on .c08-holo__foil to use gold tones (#ffd700, #ff9900), and increase the max tilt angle from 12 to 18. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.
Safe to edit
- max tilt angle (var max=12)
- sheen gradient colors (rgba values in .c08-holo__sheen)
- foil chip colors (conic-gradient in .c08-holo__foil)
- idle drift speed (t+=0.011)
- card dimensions (46vmin/59vmin)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- CSS custom property tilt system (--c08-rx/--c08-ry/--c08-sheen)
- IIFE wrapper
- visibilitychange stop/start
- prefers-reduced-motion guard
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background dark gradient is hardcoded in body CSS — must edit to use on light pages
- Sheen uses mix-blend-mode:color-dodge which may render differently on non-dark backgrounds
More Cards components
- 3D Tilt ParallaxDark card tilts in 3D toward the cursor; badge, orb, and text layers float at distinct Z-depths. A radial shine tracks the pointer; auto-rotates when idle.
- Frosted GlassA frosted glass card floats over three slowly drifting color blobs (gold, cream, tan); the panel lifts slightly on hover.
- Spotlight HoverDark card with a peach radial glow and a CSS-masked grid that both track the cursor; auto-orbits when the pointer is away.
- Gradient-Border GlowDark card framed by a spinning conic powder-blue, tan and slate gradient border with a soft blurred aura glow behind it; auto-rotates continuously.
- Reveal on HoverDark gradient card that dims and zooms its background art on hover while a hidden title-and-copy panel slides up from the bottom.
- Stacked Peeking CardsThree layered gradient cards auto-cycle and fan out with a springy rotation on hover; cards spread left and right then restack when cursor leaves.