0

I need a custom mouse cursor like this website:

https://blab.studio

When you enter your mouse in the body of the page, the curse pointer will be hidden and website show's the customized cursor. Can you show me right code or script for this purpose?

I want to be able to click with this cursor, just like the website I sent.

Regards.

Ajay2707
  • 5,690
  • 6
  • 40
  • 58
Hossein Rahimi
  • 107
  • 1
  • 7

1 Answers1

1

You can acheive this using the CSS property:

.myclass {
  cursor: url(images/my-cursor.png), auto;
}

For example, if you want to change the cursor in your entire website:

body {
  cursor: url(images/my-cursor.png), auto;
}

You can use gif, svg, png ... as the image.

In order to hide the cursor use:

 cursor: none;
Maxence Machu
  • 330
  • 1
  • 14