vadnica-logo
X

CSS Property: scroll-margin-inline-start

The scroll-margin-inline-start property sets the distance in the inline direction between the snap position and the container. This means that when scrolling stops, the scroll will quickly adjust and stop at a specified distance in the inline direction between the snap position at the start of the child element and the container. To see the effect of the scroll-margin-inline-start property, both scroll-margin-inline-start and scroll-snap-align properties must be set on child elements, while the scroll-snap-type property must be set on the parent element.

EXAMPLE
RESULT

Thank you for visiting! Adding privacy policy.

© 2024 All rights reserved.

Vam je koda pomagala? Če želite podpreti moj trud pri pripravi vodičev in vzdrževanju strani, mi lahko namenite donacijo za kavo.