Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

scroll snap css

/* Answer to: "scroll snap css" */

/*
  CSS Scroll Snap is a module of CSS that introduces scroll snap positions,
  which enforce the scroll positions that a scroll container’s scrollport may
  end at after a scrolling operation has completed.

  Here's two guides on how to use this module:
  - https://blog.logrocket.com/how-to-use-css-scroll-snap/
  - https://css-tricks.com/practical-css-scroll-snapping/
*/
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #scroll #snap #css
ADD COMMENT
Topic
Name
1+2 =