Pinatool

CSS Marquee Generator

Create seamless, infinite scrolling tickers for brand logos, tech stacks, and product announcements. Export lightweight, hardware-accelerated CSS and accessible HTML with zero runtime JavaScript.

Quick Marquee Presets

Interactive Marquee Stage

6 items • 18s loop • ← Left

  • React 19
  • Next.js 16
  • TypeScript
  • Tailwind CSS
  • Hardware Composited
  • Accessible by Default
Hover over the marquee to pause animationStyle: Badge Pills

Marquee Items List

One item per line (up to 20)

Appearance & Animation

18s
Lower is faster, higher is smoother.
20px

Production HTML & CSS Export

Infinite seamless marquee with aria-hidden duplicate track and horizontal scroll reduced-motion fallback.

.marquee {
  --marquee-gap: 20px;
  --marquee-speed: 18s;
  --marquee-background: #ffffff;
  --marquee-foreground: #0f1d3a;
  --marquee-accent: #14b8a6;
  overflow: hidden;
  padding: 20px 0;
  color: var(--marquee-foreground);
  background: var(--marquee-background);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-speed) linear infinite;
  will-change: transform;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
  margin: 0;
  padding: 0 var(--marquee-gap) 0 0;
  list-style: none;
}

.marquee--pills li {
  padding: 10px 20px;
  border: 1px solid color-mix(in srgb, var(--marquee-accent) 35%, transparent);
  border-radius: 9999px;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgb(15 29 58 / 6%);
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    mask-image: none;
  }
  .marquee__track {
    animation: none;
  }
  .marquee__group[aria-hidden="true"] {
    display: none;
  }
}

How It Works

1

Input Your Items

Type your items, logos, or headlines line-by-line into the items editor, or choose from curated presets like Tech Stack or Brand Showcase.

2

Choose Style & Speed

Select Badge Pills, Feature Cards, or Plain text. Adjust scroll speed, spacing gap, scroll direction, and gradient edge fade.

3

Copy & Deploy

Copy the accessible HTML and the zero-dependency CSS keyframe rules into your application. It runs smoothly on the GPU without JavaScript.

CSS Marquee Generator Key Features

Seamless GPU Looping

Uses dual identical tracks with translateX(-50%) translation for 60fps compositor animation without visual stutter or layout jumps.

Gradient Edge Masking

Creates elegant fade-in and fade-out edge effects using CSS mask-image gradients so items seamlessly emerge and dissolve into margins.

Full WCAG Accessibility

Duplicates are marked with aria-hidden="true", pause-on-hover is supported, and reduced-motion modes convert to horizontal scrolling.

Frequently Asked Questions

Why avoid the deprecated HTML tag?

The legacy HTML tag is obsolete, non-standard, lacks responsive styling capabilities, and causes severe accessibility problems for screen-reader users and keyboard navigation. Modern pure CSS marquees use GPU-accelerated transforms, flexbox, and semantic HTML.

How does the seamless infinite loop work without JavaScript?

The marquee track contains two identical list groups side-by-side. The CSS keyframe animation translates the entire track by translateX(-50%). When the track reaches -50%, it instantly loops back to 0% with imperceptible continuity, creating an infinite, stutter-free scrolling showcase.

How is accessibility handled for screen readers?

The second identical list group is marked with aria-hidden="true" so screen readers only read the list of items once. The outer container has role="region" and aria-label="Scrolling showcase". Furthermore, pause-on-hover and pause-on-focus-within allow keyboard and mouse users to pause and inspect items.

How does prefers-reduced-motion work with the marquee?

Under @media (prefers-reduced-motion: reduce), the infinite CSS animation is disabled, the aria-hidden duplicate track is hidden, and the container switches to standard horizontal scrolling (overflow-x: auto) so users can browse items at their own pace without vestibular discomfort.

Can I use custom logos or icons instead of plain text?

Yes. The generated items can contain SVG logos, image thumbnails, or badge links. Simply paste your desired SVG or image markup inside the elements of the generated HTML.