cursor-dot

1.0.5 • Public • Published

cursor-dot

Fancy cursor dot

English | 简体中文

Installation 🏗️

$ yarn add cursor-dot

Usage 🍹

import curDot from 'cursor-dot'

const cursor = curDot()
// or, set as you want
// cursor({
//   diameter: 80,
//   borderWidth: 1,
//   borderColor: 'transparent',
//   easing: 4,
//   background: '#fff'
// })

cursor.over('span.selector', {
  borderColor: 'rgba(255,255,255,.38)',
  broderWidth: 2
})

cursor.over($('El'), {
  scale: .5,
  background: '#fff'
})

Readme

Keywords

none

Package Sidebar

Install

npm i cursor-dot

Weekly Downloads

7

Version

1.0.5

License

MIT

Unpacked Size

4.54 kB

Total Files

5

Last publish

Collaborators

  • gaoryrt