Answers for "css horizontal scroll with snap"

CSS
3

css scroll snap

.container {
  scroll-snap-type: mandatory; 
}

.child {
  scroll-snap-align: start;
}

/* Guide: https://css-tricks.com/practical-css-scroll-snapping/ */
Posted by: Guest on July-03-2020

Browse Popular Code Answers by Language