Problem Statement
What happens if a CSS variable is undefined?
Explanation
You can provide fallback values inside `var()`. For example, `color: var(--text-color, black);` ensures `black` is used if the variable isn’t set — preventing rendering issues.
Code Solution
SolutionRead Only
p { color: var(--accent, #000); }Practice Sets
This question appears in the following practice sets:
