@citizensadvice/cursor
v1.0.3
Published
Sets the mouse cursor when hovering the element.
Downloads
5
Keywords
Readme
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" />