pointer.js is a simple library to provide you custom build static designs of cool cursors that you can add them on your websites.
<script src="https://cdn.jsdelivr.net/npm/@jasperj1/[email protected]/dist/index.min.js"></script>
Just add this CDN link to your HTML document.
pointer.js
is a simple library that makes you add different classes to the HTML elements and helps you provide custom cursors to that particular HTML element.
Just like you add Bootstrap classes, simply plug it in some classes provided by pointer.js
and see the magic ⚡️
<div class="snow_cursor" color="hotpink"></div>
<div class="snow_cursor" outer_color="hotpink" inner_color="red"></div>
<div class="simple_cursor" color="hotpink"></div>
<div class="pen_cursor" color="hotpink"></div>
<div class="pen_cursor" inner_color="hotpink" outer_color="red"></div>
color
attribute, the fallback color will be black.
For Live Demo, visit this link -> https://codesandbox.io/s/pointer-js-demo-ih33uy?file=/index.html
ISC © Gautam-Arora24