Back to library
INTERACTION_022

Logo Marquee.

The track is duplicated and translated -50% on loop, with mask-image fading both edges so items dissolve rather than clip.

CATEGORY
Background
COMPLEXITY
Easy
TECH
CSS
PLATFORM
Both
PERFORMANCE
Light
LIVE PLAYGROUND
LOVABLECURSORBOLTV0REPLITWINDSURFLOVABLECURSORBOLTV0REPLITWINDSURF
CSS / CSS
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

IF YOU LIKE THIS, STEAL THESE TOO.

STRUCTURE / 56PX
INTERACTION_023CSS

Tech Grid

Faint technical grid with a radial fade.

Background / LightView
TEXTURE / 3%
INTERACTION_024CSS

Grain Overlay

Film grain that stops black from looking flat.

Background / LightView
INTERACTION_147CSS

Gradient Mesh

Soft overlapping gradients drift behind the content.

Background / MediumView
INTERACTION_148CSS

Moving Spotlight

A slow beam sweeps across the section surface.

Background / LightView