Change window cursor using pure CSS

I know that you can change the cursor of a webpage with an image, but is it possible to "style" the cursor with CSS only?

Sort of...

div.changecursor:cursor { width: 10px; height: 10px; background: blue; border-radius: 199px; /* make it a circle */ } 
+6
source share
1 answer

The cursor property allows you to use the URL linking the image to be used as the cursor. This way you can customize as much as you want

property and value

 .classX { cursor: url(myCursor.cur); } 

Good with gif etc.

+1
source

Source: https://habr.com/ru/post/943671/


All Articles