Text Marquee

Giant words rolling past, alternating solid and outlined

DESIGNMOTIONCRAFTSHIPDESIGNMOTIONCRAFTSHIPDESIGNMOTIONCRAFTSHIP

Create a display text marquee. A strip of giant display words rolling endlessly sideways, the editorial-site signature. Alternate the styling: odd words solid in the ink color, even words hollow (color: transparent with -webkit-text-stroke: 1.5px in the accent color), separated by small accent dots. Implementation: render the word list three times inside one flex track (width: max-content, align-items: baseline); animate the track with keyframes to translateX(-33.333%), linear, infinite, and because the content repeats exactly, the loop is seamless. Duration sets the mood: 12-18s reads energetic, 30s+ reads calm. Pause on hover (animation-play-state: paused). Fade the strip's edges with a CSS mask (transparent at the edges, opaque in the middle). Typography: display size (5vw+ on full-width strips), weight 800, tight letter-spacing, white-space: nowrap. Mark the strip aria-hidden='true' if the words are decorative, or provide a visually-hidden static copy for screen readers. Under prefers-reduced-motion, show a static strip. Build the component, not this demo of it. - Ambient motion that IS the component may loop: a drifting background, a marquee, a spinner while something is genuinely loading. - Do not add any timer, interval, loop or script that performs a person's action by itself. No auto-hover, no auto-click, no cycling through states, no pretend submitting, no replaying the interaction on a schedule. - Every state that answers a person waits for a real event from that person. - Placeholder copy and sample content are welcome. Simulated behaviour is not.

Rate it
0
0

We'd like to measure how the site gets used, with Google Analytics. It sets cookies. Everything the site needs to work runs either way. How we handle data