Javascript 按钮中的Url光标
我有一个光标url,我想在光标位于按钮上时更改光标,我尝试了指针、悬停、url,但不起作用。有人能帮我吗? 谢谢Javascript 按钮中的Url光标,javascript,html,css,cursor,Javascript,Html,Css,Cursor,我有一个光标url,我想在光标位于按钮上时更改光标,我尝试了指针、悬停、url,但不起作用。有人能帮我吗? 谢谢 我的网址是: <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), prog
我的网址是:
<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>
身体,a:悬停{
游标:url(http://cur.cursors-4u.net/games/gam-14/gam1379.ani),网址(http://cur.cursors-4u.net/games/gam-14/gam1379.png),进步!重要;
}
您的代码正在将光标图像应用于黄金!但有一个问题,为什么要使用进度?我猜是因为OP使用了它。
<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>
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;
}