Cards
Frosted Glass
A frosted glass card floats over three slowly drifting color blobs (gold, cream, tan); the panel lifts slightly on hover.
csslight complexitysubtle motionhover
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
Dark-themed hero sections, feature highlight cards, pricing panels, or any UI needing a premium glassmorphism aesthetic.
When not to
Light backgrounds (background is hardcoded dark). Browsers without backdrop-filter support — the blur will silently degrade to a semi-opaque panel.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change accent blobs to coral/teal/amber by updating --accent-iris, --accent-cyan, and --accent-magenta, then slow drift speed by changing the 9s duration to 14s on .c02-glass__blob. 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
- blob accent colors (--accent-iris, --accent-cyan, --accent-magenta)
- drift animation duration (9s)
- backdrop blur intensity (blur(16px))
- panel opacity (rgba 0.42)
- hover lift amount (translateY(-4px) scale(1.02))
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- backdrop-filter + -webkit-backdrop-filter pair
- visibilitychange pause handler
- prefers-reduced-motion guard on blob animation
- IIFE wrapper
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- backdrop-filter unsupported in Firefox without a flag — panel falls back to semi-opaque but blur vanishes
- Light re-theme via the [data-theme=light] token block; catalog bg/accent describe the dark default
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.
- 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.
- Holographic IridescentA 3D-tilting card with a warm iridescent sheen and conic foil chip that shift with pointer position; drifts idly when not hovered.
- 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.