Kinetic Typography
Moving Mask
Diagonal gradient light band sweeps across REVEAL, illuminating letters in shifting teal-copper hues against dark. Pure CSS mask + background-clip animation.
csslight complexitymoderate motion
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
Hero reveals, splash screens, brand name intros needing a premium lighting-sweep effect on dark backgrounds.
When not to
Light backgrounds (hardcoded dark body), strings longer than ~8 chars, or contexts requiring broad CSS mask-image browser support.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the word to 'LAUNCH', slow the sweep to 6s, and shift palette to gold: set background to linear-gradient(90deg,#ffb347,#ff6b6b,#ffd700,#ffb347). 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
- word content (#base and #lit text)
- sweep duration (4.5s in animation)
- gradient palette (background on #lit)
- mask sweep angle (120deg)
- font size clamp range
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- dual-layer stacking (#base dim underlay + #lit masked overlay)
- CSS mask-image sweep pattern
- prefers-reduced-motion guard
- visibilitychange pause in IIFE
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded to #0F1A1B — edit CSS body to change theme
- Text must be duplicated in two divs due to background-clip:text technique
- -webkit-text-fill-color overrides color on #lit; edit background gradient to recolor
More Kinetic Typography components
- Weight Morph WaveEach letter of a word pulses font-weight and vertical scale in a staggered sine wave, shifting hue from cyan to blue.
- Scramble DecodeNeon-green monospace words scramble through random glyphs then lock left-to-right like a terminal decrypting. Auto-cycles; click skips to next word.
- Split-Flap BoardSix amber tiles cycle through letters to spell airport-style words (DEPART, ARRIVE, ONTIME, BOARDS) on a dark charcoal background with a rotateX flip…
- Gradient ShimmerBold "SHIMMER" text with a rainbow gradient clipped to the letterforms, continuously panning for a glossy iridescent sweep on deep umber.
- Glitch RGB SplitRed and cyan pseudo-element copies of GLITCH drift and randomly snap with clipped displacement, simulating a CRT RGB-split glitch on near-black.
- Marquee TickerTwo rows of bold words scroll in opposite directions — yellow left, teal right — with red bullet separators on a dark green background, news-ticker style.