Wk-notes-01-13-npm-script-css-scroll
npm-scripts
scripts attribute defines npm scripts, there are 2 types:
scripts as hook triggered after certain npm command:
postinstall,prepublishscripts defined only for
npm run SCRIPT_NAMEYou can use any bash script for the script value. Say, a conditional script:
scroll-snap-type
scroll-snap-typeRef: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-type
Defines how strictly snap points are enforced on the scroll container in case there is one.
none
x mandatory
x proximity
Last updated
Was this helpful?