All Challenges
#50
First-Child Selector
MediumCategory: Selectors
Remove top border on only the :first-child element of .list-item.
Target HTML in preview:
<div class="list-item">1</div><div class="list-item">2</div>
Verification Criteria:
Target :first-child
Set border-top: none
styles.css
Live EvaluationLoading...
|
Live Browser Output
Sandboxed Preview