css-cursor

1.0.0 • Public • Published

css-cursor

Normalize the value of CSS Cursor.

Unfortunately cursor CSS property value sometimes needs to be browser prefixed. This module solves this issue.

Example

var cssCursor = require("css-cursor");
element.style.cursor = cssCursor("grab"); // can be grab, -webkit-grab or -moz-grab depending on the browser

Readme

Keywords

Package Sidebar

Install

npm i css-cursor

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • gre