首页 > 编程知识 正文

鼠标光标案个性化,怎么替换鼠标光标案

时间:2023-05-04 03:54:10 阅读:213131 作者:4783

cursor属性值(光标图案) - 代码篇 1. 常用取值 · 举例: 属性值1234567891011121314151617···cursor:害羞的棒球截图看下文2. 更多取值 · 截图参考 (部分图标显示,因电脑系统而异):


对应解释 · 如下表所示:

3. demo.html 效果查看 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> cursor属性值(光标图案)</title> </head><body><p>请把鼠标移动到单词上,可以看到鼠标指针发生变化:</p><span style="cursor:auto">Auto</span><br /><span style="cursor:crosshair">Crosshair</span><br /><span style="cursor:default">Default</span><br /><span style="cursor:pointer">Pointer</span><br /><span style="cursor:move">Move</span><br /><span style="cursor:e-resize">e-resize</span><br /><span style="cursor:ne-resize">ne-resize</span><br /><span style="cursor:nw-resize">nw-resize</span><br /><span style="cursor:n-resize">n-resize</span><br /><span style="cursor:se-resize">se-resize</span><br /><span style="cursor:sw-resize">sw-resize</span><br /><span style="cursor:s-resize">s-resize</span><br /><span style="cursor:w-resize">w-resize</span><br /><span style="cursor:text">text</span><br /><span style="cursor:wait">wait</span><br /><span style="cursor:help">help</span></body></html>

以上就是关于“ cursor光标图案 - 代码篇 ” 的全部内容。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。