02ロゴの無限ループ
取引先や顧客企業のロゴをカードで並べ、同じ継ぎ目なしトラックで流し続ける実戦配置。
使いどころLPの信頼バッジ帯、パートナーロゴバー
로고 카드gap 고정폭linear infinite

<main class="stage">
<div class="marquee">
<p class="marquee__label">パートナー各社</p>
<div class="marquee__row">
<div class="marquee__track">
<span class="marquee__logo">NORTH</span>
<span class="marquee__logo">ACME</span>
<span class="marquee__logo">ORBIT</span>
<span class="marquee__logo">VELA</span>
<span class="marquee__logo">KADE</span>
<span class="marquee__logo" aria-hidden="true">NORTH</span>
<span class="marquee__logo" aria-hidden="true">ACME</span>
<span class="marquee__logo" aria-hidden="true">ORBIT</span>
<span class="marquee__logo" aria-hidden="true">VELA</span>
<span class="marquee__logo" aria-hidden="true">KADE</span>
</div>
</div>
</div>
</main>@use "../../../../site/static/demo-tokens" as *;
$duration: $dur-loop;
$easing: linear;
$color: $stage-ink;
@include stage($stage-yellow);
.marquee { width: min(340px, 88vw); display: grid; gap: 10px; justify-items: center; }
.marquee__label {
margin: 0;
font-weight: 700; font-size: clamp(11px, 3vw, 12px); line-height: 1; font-family: inherit;
letter-spacing: .08em;
color: rgba($color, .68);
text-transform: uppercase;
}
.marquee__row { width: 100%; overflow: hidden; }
.marquee__track {
display: flex;
width: max-content;
animation: logo-scroll $duration $easing infinite;
}
.marquee__logo {
margin-right: 16px; // 트랙의 gap 대신 — 세트 폭이 정확히 절반이 되어 -50% 이음새가 0px 이 된다
flex-shrink: 0;
display: grid;
place-items: center;
height: 34px;
padding: 0 16px;
border-radius: $r-pill;
background: $stage-paper;
color: $color;
font-weight: 800; font-size: 13px; line-height: 1; font-family: inherit;
letter-spacing: .04em;
box-shadow: $shadow-press;
}
@keyframes logo-scroll {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
.marquee__track { animation: none; transform: translateX(0); }
}html, body {
margin: 0;
overflow: hidden;
}
.stage {
box-sizing: border-box;
min-height: 100vh;
display: grid;
place-items: center;
margin: 0;
background: #ffd23f;
font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
padding: clamp(8px, 4vw, 24px);
}
.marquee {
width: min(340px, 88vw);
display: grid;
gap: 10px;
justify-items: center;
}
.marquee__label {
margin: 0;
font-weight: 700;
font-size: clamp(11px, 3vw, 12px);
line-height: 1;
font-family: inherit;
letter-spacing: 0.08em;
color: rgba(23, 20, 26, 0.68);
text-transform: uppercase;
}
.marquee__row {
width: 100%;
overflow: hidden;
}
.marquee__track {
display: flex;
width: max-content;
animation: logo-scroll 2s linear infinite;
}
.marquee__logo {
margin-right: 16px;
flex-shrink: 0;
display: grid;
place-items: center;
height: 34px;
padding: 0 16px;
border-radius: 999px;
background: #ffffff;
color: #17141a;
font-weight: 800;
font-size: 13px;
line-height: 1;
font-family: inherit;
letter-spacing: 0.04em;
box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}
@keyframes logo-scroll {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
@media (prefers-reduced-motion: reduce) {
.marquee__track {
animation: none;
transform: translateX(0);
}
}import type { CSSProperties } from "react";
import styles from "./LogoMarquee.module.scss";
export type LogoMarqueeProps = {
label?: string;
logos?: string[];
duration?: number;
easing?: string;
color?: string;
};
type Vars = CSSProperties & { "--duration"?: string; "--easing"?: string; "--color"?: string };
export default function LogoMarquee({
label = "Partners",
logos = ["NORTH", "ACME", "ORBIT", "VELA", "KADE"],
duration = 12000,
easing = "linear",
color = "#17141a",
}: LogoMarqueeProps) {
const vars: Vars = { "--duration": `${duration}ms`, "--easing": easing, "--color": color };
return (
<div className={styles.marquee} style={vars}>
<p className={styles.label}>{label}</p>
<div className={styles.row}>
<div className={styles.track}>
{logos.map((l) => (
<span key={l} className={styles.logo}>{l}</span>
))}
{logos.map((l) => (
<span key={"dup-" + l} className={styles.logo} aria-hidden="true">{l}</span>
))}
</div>
</div>
</div>
);
}02 ロゴの無限ループ — 計測 累積面積 8.028% · 動いたフレーム 23/23GODRICH オリジナル · SCSS と React は zip に同梱 · CSS 無限ループ マーキー9選 — CSSだけ・JS不要
このデモが属する記事
CSS 無限ループ マーキー9選 — CSSだけ・JS不要css 無限ループは、同じ内容を2セット並べたトラックをちょうど半分だけ動かし、継ぎ目や巻き戻りを見せずに帯を流し続けるCSSの実装法です。この記事ではマーキー(横に流れる帯)を9パターン選び、JavaScriptを使わずtransform この記事のデモをすべて見る


