Url cursor in button

I have a cursor pointer and I want to change the cursor when it is on a button, I tried a pointer, hover, url, but it does not work, can someone help me? Thanks.

<button id="btt" style="cursor:hover" type="button"> 

I have:

 <style type="text/css"> body, a:hover { cursor: url(http://cur.cursors-4u.net/games/gam-14/gam1379.ani), url(http://cur.cursors-4u.net/games/gam-14/gam1379.png), progress !important; } </style> 
+4
source share
1 answer

Your code applies the cursor image to <a> elements, not buttons.

 a:hover, button { cursor: url(http://cur.cursors-4u.net/games/gam-14/gam1379.ani), url(http://cur.cursors-4u.net/games/gam-14/gam1379.png), progress !important; } 

https://css-tricks.com/almanac/properties/c/cursor/

+3
source

All Articles