Skip to main content

Practice · 1 of 1

Build a Mini Theme

CHALLENGE
Difficulty: beginner+25 XP

Create a small theme with custom properties: - On :root, declare --brand (any color) and --space (a rem value). - Style .button using var(--brand) as its background-color and var(--space) as its padding. - Style p with a font-size in rem (no px).

Back to lesson: Practice: Units, Colors & Values — Practice