postcss-pointer
postcss-pointer copied to clipboard
A PostCSS plugin to replace `pointer: cursor` with `cursor: pointer`.
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.