Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk3 min

How to Build a Smooth, Seamless CSS Logo Marquee

A CSS logo marquee works best when one transformed track loops back to a visually identical start, while reduced-motion users retain a static view.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a logo marquee that loops cleanly, animate one track with transform and make the track’s end position visually match its start. Keep a static version for people who prefer reduced motion, and check performance on the devices your audience uses. This is a sound starting point—not a guarantee of “zero jank” on every browser or device.

Why animate the track with transform?

For a simple repeating strip, moving the track with transform is a reasonable first approach. Unlike some animated properties that can trigger layout or repaint work, transforms can avoid those costs; in suitable circumstances, the browser may sample the animation through a compositing path away from the main thread. That is a rendering advantage to evaluate, not a promise that the page will always be smooth.

As an Amazon Associate I earn from qualifying purchases.

The browser still has to render the logos, images, and surrounding page. Actual results depend on the implementation and environment, so assess the finished page on representative devices rather than assuming the choice of property settles performance.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do you make the loop look continuous?

The loop boundary is a geometry problem: when the animation reaches its end, the visible arrangement must match what appeared at the beginning. If the two states differ, the reset will read as a jump, regardless of how the animation is timed.

#1 Best Overall
Sale
HTML and CSS: Design and Build Websites
  • HTML CSS Design and Build Web Sites
  • Comes with secure packaging
  • It can be a gift option

Plan the track’s content and travel distance together. A duplicated sequence can be one way to arrange a repeatable track, but there is no universal duplication recipe, logo count, or travel distance that fits every layout. Verify the actual boundary in your design, including logo widths and spacing; do not treat a duration or count from one example as a standard.

How should reduced-motion users see the logos?

The prefers-reduced-motion media feature lets a site respond to an operating-system or user-agent preference to minimize nonessential movement. For a continuously moving logo strip, provide a static arrangement or another materially less animated presentation that still makes the logos and their meaning available. Do not remove important content as a side effect of turning off motion.

Where persistent movement makes sense in the component’s context, consider offering a control to pause or disable it as well as honoring the system preference. MDN recommends considering such a mechanism in its animation guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Should you add will-change?

Not by default. MDN describes will-change as a rendering hint and advises using it only when there is an observed performance problem. Applying it broadly can consume resources and make performance worse. If profiling shows a reason to try it, scope it to the moving track rather than every logo or a large wrapper, and use it only while the optimization is useful. See MDN’s will-change reference.

Rank #3
Sale
Web Design with HTML, CSS, JavaScript and jQuery Set
  • Brand: Wiley
  • Set of 2 Volumes
  • A handy two-book set that uniquely combines related technologies Highly visual format and accessible language makes these books highly effective learning tools Perfect for beginning web designers and front-end developers
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How can you assess jank without overpromising?

MDN describes 60 frames per second—about 16.7 milliseconds per frame—as a commonly accepted reference for animation that appears smooth. That figure is general guidance, not a benchmark for this marquee or a guarantee for a particular device. Animation cost varies by property and page; costly changes can cause jank.

  • Check the marquee on representative devices and browsers, including the actual page around it.
  • Look for a visible discontinuity at the loop boundary as well as uneven movement during the cycle.
  • Keep the effect restrained. More and larger animations require more processing, so avoid adding motion that does not help the component.
  • Measure before applying extra rendering hints or claiming a performance improvement.

MDN’s animation performance and frame-rate guide explains why animation costs vary. Its transform reference describes the property used for this approach, while the prefers-reduced-motion reference covers the user preference.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.