CSS custom properties (called CSS variables) are one of the most powerful features in modern CSS. They let you define reusable values once and use them everywhere — and unlike Sass variables, they're live in the browser: you can change them with JavaScript or media queries and every element that uses them updates instantly. This is how professional design systems and dark/light themes are built.
1-A 2-A 3-A 4-A | 5 #3b82f6 6 accent 7 = :root{--brand:#3b82f6} .btn,a{color:var(--brand)} 8 = [data-theme='dark']{--bg:#111;--text:#eee} 9 = Single source of truth; instant theming; fewer errors | 10 = Yes - el.style.setProperty('--x', value)