06CD-ring avatar quote
The avatar sits inside a conic-gradient ring that slowly spins like the edge of a CD, and the quote card is wrapped in a thin double-line chrome border.
Best forCustomer testimonials, partner quotes
conic-gradient 회전 링아바타 원형느린 회전

<main class="stage">
<figure class="test-c">
<div class="test-c__avatar" aria-hidden="true">
<div class="test-c__avatar-fill"></div>
</div>
<blockquote class="test-c__card">
<p class="test-c__quote">"Our click-through rate doubled in launch week"</p>
<figcaption class="test-c__name">Jieun Park · Marketing Lead</figcaption>
</blockquote>
</figure>
</main>@use "../../../../site/static/demo-tokens" as *;
$duration: $dur-loop;
$easing: linear;
$color: $subject-blue;
@include stage($stage-yellow);
.test-c {
margin: 0;
position: relative;
box-sizing: border-box;
width: clamp(240px, 82vw, 360px);
padding: $sp-5;
display: flex;
flex-direction: row;
align-items: flex-start;
gap: $sp-3;
}
.test-c__avatar { position: relative; flex-shrink: 0; width: $sp-10; height: $sp-10; border-radius: 50%; }
// CD 테두리처럼 도는 conic-gradient 링 — mask 로 링 모양만 남기고 회전만 시킨다 (유일한 애니메이션)
.test-c__avatar::before {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
padding: $sp-1;
background: conic-gradient($color, $stage-orange, $subject-cream, $stage-ink, $color);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
animation: cdSpin $duration $easing infinite;
}
.test-c__avatar-fill { position: absolute; inset: $sp-1; border-radius: 50%; background: $stage-ink; }
.test-c__card {
margin: 0;
min-width: 0;
position: relative;
border-radius: $r-card;
padding: $sp-5;
background: $stage-ink;
border: 1px solid rgba($stage-paper, .18);
outline: 1px solid rgba($subject-cream, .35);
outline-offset: -4px;
}
.test-c__quote {
margin: 0 0 $sp-3;
color: $stage-paper;
font-weight: 600;
font-size: clamp(12px, 3vw, 13.5px);
line-height: 1.5;
font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}
.test-c__name {
margin: 0;
color: rgba($stage-paper, .7);
font-weight: 600;
font-size: clamp(10.5px, 2.4vw, 11.5px);
line-height: 1.3;
font-family: inherit;
}
@keyframes cdSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
.test-c__avatar::before { animation: none; }
}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);
}
.test-c {
margin: 0;
position: relative;
box-sizing: border-box;
width: clamp(240px, 82vw, 360px);
padding: 20px;
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 12px;
}
.test-c__avatar {
position: relative;
flex-shrink: 0;
width: 40px;
height: 40px;
border-radius: 50%;
}
.test-c__avatar::before {
content: "";
position: absolute;
inset: 0;
border-radius: 50%;
padding: 4px;
background: conic-gradient(#2f6df6, #ff4d1f, #fff7e6, #17141a, #2f6df6);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
animation: cdSpin 2s linear infinite;
}
.test-c__avatar-fill {
position: absolute;
inset: 4px;
border-radius: 50%;
background: #17141a;
}
.test-c__card {
margin: 0;
min-width: 0;
position: relative;
border-radius: 16px;
padding: 20px;
background: #17141a;
border: 1px solid rgba(255, 255, 255, 0.18);
outline: 1px solid rgba(255, 247, 230, 0.35);
outline-offset: -4px;
}
.test-c__quote {
margin: 0 0 12px;
color: #ffffff;
font-weight: 600;
font-size: clamp(12px, 3vw, 13.5px);
line-height: 1.5;
font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}
.test-c__name {
margin: 0;
color: rgba(255, 255, 255, 0.7);
font-weight: 600;
font-size: clamp(10.5px, 2.4vw, 11.5px);
line-height: 1.3;
font-family: inherit;
}
@keyframes cdSpin {
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: reduce) {
.test-c__avatar::before {
animation: none;
}
}import type { CSSProperties } from "react";
import styles from "./TestimonialChrome.module.scss";
export type TestimonialChromeProps = {
quote?: string;
name?: string;
/** 한 주기(기본 2000ms) */
duration?: number;
easing?: string;
color?: string;
};
type Vars = CSSProperties & { "--duration"?: string; "--easing"?: string; "--color"?: string };
export default function TestimonialChrome({
quote = "Our click-through rate doubled in launch week.",
name = "Jieun Park · Marketing Lead",
duration = 2000,
easing = "linear",
color = "#2f6df6",
}: TestimonialChromeProps) {
const vars: Vars = { "--duration": `${duration}ms`, "--easing": easing, "--color": color };
return (
<figure className={styles.test} style={vars}>
<div className={styles.avatar} aria-hidden="true">
<div className={styles.avatarFill} />
</div>
<blockquote className={styles.card}>
<p className={styles.quote}>“{quote}”</p>
<figcaption className={styles.name}>{name}</figcaption>
</blockquote>
</figure>
);
}06 CD-ring avatar quote — Measured area 0.397% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Y2K Web Design: 9 Chrome Holographic Sections
The post this demo lives in
Y2K Web Design: 9 Chrome Holographic SectionsY2K web design brings back the chrome shine of early-2000s CDs and holographic packaging, rebuilt in pure CSS. It's the See all demos in this post


