Avatar Marquee Row
Band of member avatars that scrolls endlessly behind a soft fade at each edge, freezing under the pointer while every face grows and takes a blue rim.
- lines of CSS
- 61lines of CSS
- dependencies
- 0dependencies
- baseline browsers
- Newlybaseline browsers
- stops under reduced motion
- Guardedstops under reduced motion
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v14-av-marquee-15718 {
width: 250px;
padding: 0.7rem 0 0.6rem;
text-align: center;
background: #111a2c;
border: 1px solid #253049;
border-radius: 0.7rem;
overflow: hidden;
}
.fx-v14-av-marquee-15718 .w {
-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
overflow: hidden;
}
.fx-v14-av-marquee-15718 .tr {
display: flex;
width: max-content;
animation: fx-v14-av-marquee-15718-run 12s linear infinite;
}
.fx-v14-av-marquee-15718 .tr b {
display: grid;
place-items: center;
flex: none;
width: 38px;
height: 38px;
margin-right: 10px;
font-size: 0.7rem;
font-weight: 700;
color: #041225;
border-radius: 50%;
border: 2px solid #1b2740;
transition: transform 0.3s ease, border-color 0.3s ease;
}
.fx-v14-av-marquee-15718 .a1 { background: linear-gradient(140deg, #67e8f9, #0ea5e9); }
.fx-v14-av-marquee-15718 .a2 { background: linear-gradient(140deg, #fcd34d, #f97316); }
.fx-v14-av-marquee-15718 .a3 { background: linear-gradient(140deg, #86efac, #16a34a); }
.fx-v14-av-marquee-15718 .a4 { background: linear-gradient(140deg, #f9a8d4, #db2777); }
.fx-v14-av-marquee-15718 .a5 { background: linear-gradient(140deg, #c4b5fd, #6d28d9); }
.fx-v14-av-marquee-15718 .a6 { background: linear-gradient(140deg, #fda4af, #e11d48); }
.fx-v14-av-marquee-15718 small { display: block; margin-top: 0.55rem; font-size: 0.64rem; color: #64748b; }
.fx-v14-av-marquee-15718:hover .tr { animation-play-state: paused; }
.fx-v14-av-marquee-15718:hover .tr b { transform: scale(1.06); border-color: #38bdf8; }
@keyframes fx-v14-av-marquee-15718-run {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
.fx-v14-av-marquee-15718,
.fx-v14-av-marquee-15718::before,
.fx-v14-av-marquee-15718::after,
.fx-v14-av-marquee-15718 *,
.fx-v14-av-marquee-15718 *::before,
.fx-v14-av-marquee-15718 *::after {
animation-duration: 1ms !important;
animation-iteration-count: 1 !important;
animation-delay: 0ms !important;
transition-duration: 1ms !important;
transition-delay: 0ms !important;
}
}<div class="fx-v14-av-marquee-15718">
<div class="w">
<div class="tr">
<b class="a1">AR</b>
<b class="a2">KP</b>
<b class="a3">JL</b>
<b class="a4">MO</b>
<b class="a5">TS</b>
<b class="a6">VN</b>
<b class="a1">AR</b>
<b class="a2">KP</b>
<b class="a3">JL</b>
<b class="a4">MO</b>
<b class="a5">TS</b>
<b class="a6">VN</b>
</div>
</div>
<small>2,481 members shipping today</small>
</div>What do I do with this?
- Put
avatar-marquee-row-15719.cssanywhere your page already loads CSS from — in Next.js that isapp/globals.css, or any stylesheet with a<link>in your HTML. - Then put the class on the element you want it on:
<button class="fx-v14-av-marquee-15718">. The CSS does nothing until a class name in it matches something on the page.
- Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add avatar-marquee-row-15719What's included
- The markup and the stylesheet, in whichever framework you pick
- No runtime dependencies
Works with
- React
- Vue
- Svelte
- Tailwind
- styled-components
- Plain CSS
npx hoverlab add avatar-marquee-row-15719
Or over MCP, from your editor's agent — no account needed.
License
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Motion safety
Static estimate, read from the CSS
- Reduced motion
- Guarded
Ships a
prefers-reduced-motionblock, so the loop settles into its end state for visitors who ask for less motion. - What it animates
- Repaints
Animates
border-color. No reflow, but the browser repaints every frame, which is fine for one element and costly across many. - Flashing (WCAG 2.3.1)
- No flashing found
No repeating change in opacity, colour or brightness large enough to count as a flash.
- Layout shift (CLS)
- No shift expected
Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.
Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed
31 more effects in Avatars & Images
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse Avatars & ImagesShipping one commercially
Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
- A commercial licence for everything in the catalog
- Unlimited bundle exports, in Vue, Svelte and Tailwind
- One payment — no subscription, nothing to renew
7 variations of Avatar Marquee Row
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.