Url 光标在按钮上
Url cursor in a button
我有一个光标 url,当它在按钮上时我想更改光标,我试过指针、悬停、url 但它不起作用有人可以帮忙吗我?
谢谢
<button id="btt" style="cursor:hover" type="button">
我的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), progress !important;
}
</style>
您的代码将光标图像应用于 <a>
元素而不是按钮。
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;
}
我有一个光标 url,当它在按钮上时我想更改光标,我试过指针、悬停、url 但它不起作用有人可以帮忙吗我? 谢谢
<button id="btt" style="cursor:hover" type="button">
我的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), progress !important;
}
</style>
您的代码将光标图像应用于 <a>
元素而不是按钮。
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;
}