@knowbly/postcss-overflow-scrolling-touch
v0.0.3
Published
Put native-feeling elastic/inertia scrolling whenever we have an element with overflow: scroll (or overflow-x / overflow-y)
Downloads
30
Maintainers
Readme
PostCSS Overflow Scrolling Touch
PostCSS plugin
Put native-feeling elastic/inertia scrolling whenever we have an element with overflow: scroll (or overflow-x / overflow-y).
.foo {
overflow-x: hidden;
overflow-y: auto;
}
.foo {
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
Usage
postcss([ require('@knowbly/postcss-overflow-scrolling-touch') ])
See PostCSS docs for examples for your environment.