Skip to content
All Challenges
#87

Native CSS Nesting

Hard
Category: Modern CSS

Nest the hover pseudo-class inside .nav-item using the native & nesting syntax (&:hover { color: #2563eb; }).

Target HTML in preview:
<a class="nav-item" href="#">Home</a>
Verification Criteria:
Use &:hover nesting
Set color: #2563eb
styles.css
Live Evaluation
Loading...
|
Live Browser Output
Sandboxed Preview