Skip to content
All Challenges
#71

Scroll Snap Mandatory

Medium
Category: Modern CSS

Enable horizontal mandatory scroll snapping on .carousel container.

Target HTML in preview:
<div class="carousel"><div class="slide">1</div><div class="slide">2</div></div>
Verification Criteria:
Set scroll-snap-type: x mandatory
styles.css
Live Evaluation
Loading...
|
Live Browser Output
Sandboxed Preview