Marquee strip
A slow, endless sideways ticker of short items, such as client types, tools or keywords. It pauses when someone hovers or focuses it. Use it for a long list of names or tools that would otherwise take up a lot of room. Keep each item to a word or two.
<section class="blk-section blk-marquee" aria-label="Tools and sectors">
<div class="blk-marquee__track">
<ul class="blk-marquee__list">
<li>Media</li><li>Finance</li><li>Membership</li><li>Events</li><li>Legal</li><li>Travel</li><li>Automation</li><li>AI</li>
</ul>
<ul class="blk-marquee__list" aria-hidden="true">
<li>Media</li><li>Finance</li><li>Membership</li><li>Events</li><li>Legal</li><li>Travel</li><li>Automation</li><li>AI</li>
</ul>
</div>
</section>.blk-marquee.blk-section { padding: 22px 0; background: var(--blk-band-a); overflow: hidden; }
.blk-marquee__track { display: flex; width: max-content; animation: blk-marquee 30s linear infinite; }
.blk-marquee:hover .blk-marquee__track, .blk-marquee:focus-within .blk-marquee__track { animation-play-state: paused; }
.blk-marquee__list { display: flex; flex: 0 0 auto; list-style: none; margin: 0; padding: 0; }
.blk-marquee__list li { padding: 0 28px; font-family: var(--blk-font-heading); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--blk-heading); white-space: nowrap; }
.blk-marquee__list li::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 56px; border-radius: 50%; background: var(--blk-accent); vertical-align: middle; }
@keyframes blk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
.blk-marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
.blk-marquee__list { flex-wrap: wrap; justify-content: center; }
.blk-marquee__list + .blk-marquee__list { display: none; }
}How to customise it
- List each item once in the first list. The second list is a copy that makes the loop seamless and is hidden from screen readers, so keep both lists the same.
- Change the speed by editing the animation duration (30s) in block.css. Longer is calmer.
- With reduced motion the strip stops and wraps onto several lines so every item is still readable.
- All motion stops when the visitor has asked their device for reduced motion, because base.css switches animations off.
Tokens it reads
--blk-band-a--blk-heading--blk-accent--blk-font-headingAdd the "Marquee strip" block from Product Scope Blocks (https://resources.productscope.uk/blocks/blocks/marquee-strip) to my page. Link https://resources.productscope.uk/blocks/blocks/kit/blocks.css once. Paste the HTML from https://resources.productscope.uk/blocks/blocks/kit/blocks/marquee-strip.html and replace the placeholder text with my real content. Do not change the class names, add inline styles or add scripts. To change colours or fonts, override the --blk- variables in my own CSS. Do not invent facts, clients or numbers.