@knowbly/postcss-overflow-scrolling-touch

0.0.3 • Public • Published

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.

Package Sidebar

Install

npm i @knowbly/postcss-overflow-scrolling-touch

Weekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

4.18 kB

Total Files

5

Last publish

Collaborators

  • knowblynpm