postcss-pointer

1.0.1 • Public • Published

postcss-pointer Build Status

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.

Package Sidebar

Install

npm i postcss-pointer

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • markgoodyear