1.0.3 • Published 6 years ago

@citizensadvice/cursor v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Cursor npm (scoped)

Sets the mouse cursor when hovering the element.

Classes

Class nameValue
.pointerpointer
.hover-pointerpointer (on hover only)

Examples

<a href="#" class="pointer">...</a> <a href="#" class="hover-pointer">...</a>

Installation

$ npm install @citizensadvice/cursor

now import into your stylesheet...

@import '@citizensadvice/cursor/index.scss';

You can also make use of the unpkg service, try adding the link below to the head of your HTML file

<link src="https://unpkg.com/@citizensadvice/cursor@latest/build/cursor.css" />