Skip to content
All Challenges
#30

CSS Variable Definition

Easy
Category: Modern CSS

Declare a custom property named --brand-color with value #6366f1 on :root.

Target HTML in preview:
<div>Theme Variables</div>
Verification Criteria:
Declare --brand-color: #6366f1
styles.css
Live Evaluation
Loading...
|
Live Browser Output
Sandboxed Preview