1.0.3 • Published 6 years ago
@citizensadvice/cursor v1.0.3
Cursor 
Sets the mouse cursor when hovering the element.
Classes
Class name | Value |
---|---|
.pointer | pointer |
.hover-pointer | pointer (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" />