
Lesson 02 · 10 min
$variables
$ink: #111 — before the build. It isn't var(--ink): in the browser the value is already substituted.
$radius: 8px; and border-radius: $radius. Change it in one place and rebuild. CSS custom properties var(--radius) live in the browser and can switch themes on the fly. SCSS $ is for the build: breakpoints, the grid, things that don't change at runtime.
Sign in to continue
The rest of this lesson opens after sign up
The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.