No.294 · Text Animations
Chrome Type
A word in polished metal, the way album covers did it: sky in the top of every letter, a hard horizon, warm ground below, a bevelled edge and a line of light along the top. A glint runs across it and a star flares at its peak; move the pointer and the word tilts while the reflections slide inside it.
The prompt
Written for the variant you picked above: Chrome
Build an 80s-chrome wordmark ("VITRINE" in Anton, clamp(5rem, 21vw, 15rem), uppercase) from stacked copies of the same text, all aria-hidden except the h2's aria-label. Layers, back to front: (1) depth — a solid dark copy with a text-shadow stack stepping 1–6px down (two edge tones), a soft drop shadow and a wide coloured glow; (2) metal — background-clip:text with a vertical gradient built from the finish's variables: sky-1 → sky-2 → sky-3 to 44%, a bright band at 50.5%, a hard dark horizon line at 51.5%, then ground-1 → ground-2 → ground-3 → ground-2; background-size 118% tall so it can slide; (3) rim — a white copy masked to its top 9% and nudged up 0.006em with screen blending, a thin line of light on every top edge; (4) glint — a 105° white band clipped to the text, background-size 300%, swept left to right (position 80% → 20%) in the first 40% of a 4.2s loop, screen-blended; plus an SVG four-point star that flares (scale 0 → 1 → 0, rotating) on the last letter's shoulder as the glint peaks. Pointer: pointermove writes --mx and --my (−1…1) only; the stage rotates rotateX(−9°·my) rotateY(12°·mx) and the metal's background-position slides with them, both through a 700ms ease-out transition — so the room appears to move inside the letters, with no animation loop. A floor reflection repeats the metal layer flipped (scaleY −1), masked from 32% to transparent and blurred 1.5px. A spaced mono tagline sits below. Reduced motion: no glint, star or tilt. Selected variant — Chrome: finish="chrome": classic chrome — white → pale sky → deep sky blue above the horizon, dark brown → tan → cream ground below, cool blue glow; backdrop radial-gradient(120% 70% at 50% 62%, #1b2a48, #0a1020 45%, #04060c).
Notes
- Interaction
- Move the pointer over it to tilt the word and slide its reflections.
- Motion
- Glint and star on a 4.2s CSS loop; tilt and reflections ease over 700ms. No JS loop.
- Accessibility
- The h2 carries the word as its accessible name; every visual copy is aria-hidden. Reduced motion removes the glint, star and tilt.
- Responsive
- Type scales with the viewport (21vw) and never wraps.
- On touch
- Tap or drag sets the tilt the same way; the glint plays regardless.