Utilities for controlling how strictly snap points are enforced in a snap container.
Use the snap-x utility to enable horizontal scroll snapping within an element:
For scroll snapping to work, you need to also set the scroll snap alignment on the children.
Use the snap-mandatory utility to force a snap container to always come to rest on a snap point:
Use the snap-proximity utility to make a snap container come to rest on snap points that are close in proximity: