@citizensadvice/cursor

1.0.3 • Public • Published

Cursor npm (scoped)

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" />

Readme

Keywords

none

Package Sidebar

Install

npm i @citizensadvice/cursor

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

2.2 kB

Total Files

6

Last publish

Collaborators

  • cnorthwoodcita
  • seymourski
  • marianayovcheva
  • mrdaniellewis
  • davidsauntson
  • davidrapson