All Challenges
#31
CSS Variable Usage var()
EasyCategory: Modern CSS
Apply the custom variable var(--brand-color) as the background color of .hero.
Target HTML in preview:
<div class="hero">Hero Section</div>
Verification Criteria:
Set background to var(--brand-color)
styles.css
Live EvaluationLoading...
|
Live Browser Output
Sandboxed Preview