Instruction: Explain what CSS Custom Properties are and how they can be used.
Context: This question assesses the candidate's knowledge of CSS Variables, their syntax, and their practical applications in making CSS more maintainable and flexible.
Official answer available
Preview the opening of the answer, then unlock the full walkthrough.
What are CSS Custom Properties?
CSS Variables are entities defined by CSS authors that contain specific values that can be reused in various parts of a CSS document. Unlike traditional variables in programming, CSS Variables are part of the CSS specification, which means they are understood and processed by the browser's CSS engine....