Update horizontal-scroll-snap.md

This commit is contained in:
30 seconds bot
2022-03-31 13:19:35 +03:00
committed by GitHub
parent 5a8984df30
commit c9dc9b5260

View File

@ -33,6 +33,7 @@ Creates a horizontally scrollable container that will snap on elements when scro
gap: 1rem;
height: calc(180px + 1rem);
padding: 1rem;
max-width: 480px;
overflow-y: auto;
overscroll-behavior-x: contain;
scroll-snap-type: x mandatory;