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