css scroll snap animattiom code example
Example: css scroll snap
.container {
scroll-snap-type: mandatory;
}
.child {
scroll-snap-align: start;
}
/* Guide: https://css-tricks.com/practical-css-scroll-snapping/ */
.container {
scroll-snap-type: mandatory;
}
.child {
scroll-snap-align: start;
}
/* Guide: https://css-tricks.com/practical-css-scroll-snapping/ */