All Challenges
#24
Hover Pseudo-Class
EasyCategory: Selectors
Change the background color of .btn to #2563eb when hovered (:hover).
Target HTML in preview:
<button class="btn">Hover Action</button>
Verification Criteria:
Target .btn:hover
Set background to #2563eb on hover
styles.css
Live EvaluationLoading...
|
Live Browser Output
Sandboxed Preview