marquee-loop

Implements infinite marquee loops in HTML using duplicated item sequences and CSS transforms.

5.7k|685|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/MengTo/Skills --skill marquee-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: marquee-loop
Source: https://github.com/MengTo/Skills/tree/main/agent-skills/web-design/marquee-loop
Command: npx skills add https://github.com/MengTo/Skills --skill marquee-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating a smooth, gap-free infinite scrolling marquee for logos, testimonials, or tags is tricky—naive implementations jump, stutter, or break the loop. This Skill provides a proven workflow for building seamless marquees that loop perfectly.

Core Features & Use Cases

  • Seamless Loop Technique: Duplicate the item sequence and animate the track with a linear transform from 0 to -50% so the end and beginning match perfectly.
  • Stability & Accessibility Guardrails: Keep item widths stable to prevent jumps, mask or fade edges at section boundaries, and respect prefers-reduced-motion with a static or slowed fallback.
  • Use Case: A landing page needs a continuously scrolling strip of client logos or feature chips in the header. Apply this Skill to build a responsive marquee that loops infinitely without visible seams and pauses on hover when useful.

Quick Start

Use the marquee-loop skill to add a seamless infinite scrolling logo strip to my landing page header.

Frequently Asked Questions about marquee-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a seamless infinite marquee in CSS?

Duplicate the item sequence so the end matches the beginning, then animate the track with a linear transform from 0 to -50%. Because the content repeats exactly, the loop resets invisibly with no jump or gap.

Why does my marquee animation jump or stutter at the loop point?

Jumps happen when item widths change during animation or the duplicated sequence does not match the original exactly. Keep item widths stable and ensure the duplicated group is pixel-identical to the first.

How do I make a marquee accessible for reduced motion users?

Respect the prefers-reduced-motion media query by replacing the animation with a static wrapped layout or very slow movement. This prevents vestibular discomfort while keeping the content readable.

When should I avoid using a scrolling marquee?

Avoid marquees for unique content users must read carefully, since moving text is hard to follow. Also avoid heavy CPU-intensive shadows or filters on every moving item, which degrade rendering performance.

Can I pause a CSS marquee on hover?

Yes, pause or slow the marquee on hover using animation-play-state, but only when the interaction is useful, such as letting users read a testimonial. Do not add hover pauses that serve no purpose.