Skip to content

markgoodyear/postcss-pointer

Repository files navigation

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.

About

A PostCSS plugin to replace `pointer: cursor` with `cursor: pointer`.

Resources

License

Stars

Watchers

Forks

Packages

No packages published