postcss-pointer
v1.0.1
Published
A PostCSS plugin to to replace pointer: cursor with cursor: pointer
Downloads
5
Maintainers
Readme
postcss-pointer
A PostCSS plugin to replace pointer: cursor
with cursor: pointer
.
Why?
Because of this Tweet: https://twitter.com/_dte/status/613396433748692992
Example
Input:
.elem {
pointer: cursor;
}
Output:
.elem {
cursor: pointer;
}
Usage
Install:
npm install postcss-pointer --save-dev
Then include the plugin:
postcss([ require('postcss-pointer')(options) ])
See PostCSS docs for examples for your environment.
Licence
Released under the MIT license.