Container and item roles
The scroll-snap-type setting belongs to the scroll container and selects the snapping axis and strictness. The scroll-snap-align setting belongs to its snap areas, usually the scrolling items. The preview combines both roles so you can scroll through the example and observe where each item settles. A snap type alone does not define useful item alignment.