Skip to content
This repository has been archived by the owner. It is now read-only.
A polyfill for CSS scroll snapping
JavaScript HTML CSS
Branch: develop
Clone or download

Latest commit

Latest commit 355c294 Nov 2, 2016


Type Name Latest commit message Commit time
Failed to load latest commit information.
demo Improve demo and comments Nov 20, 2015
dist Fix body scroll bug on firefox Nov 21, 2015
src Fix default values Jan 30, 2016
vendor/philipwalton Add dependencies Nov 3, 2015
.gitignore Ignore sublime files Nov 4, 2015
LICENSE Add License Nov 20, 2015 Fix link Apr 16, 2016
gulpfile.js Modify gulpfile to include all js files Nov 6, 2015
package.json fix package.json Nov 1, 2016


Polyfill for css scroll snapping draft


Simply load the bundled file at the end of your body tag.

If you are using the unbundled version, make sure to load polyfill.js first.


This uses Polyfill.js by @philipwalton, which is bundled. No other dependencies.

Browser Support

This has been tested successfully in the following browsers:

  • Chrome 36
  • Firefox 24

Standards documentation


Length units for scroll-snap-point-*: repeat(), scroll-snap-coordinate and scroll-snap-destination are limited to:

  • vh/vw
  • percentages
  • pixels.
You can’t perform that action at this time.