首页 > 开发 > CSS > 正文

如何用CSS自定义鼠标显示的形状

2024-07-11 09:01:02
字体:
来源:转载
供稿:网友

 <style type="text/css"> <!-- span {display:block;line-height:30px;margin:5px 0;background:#f0f0f0;text-align:center;} --> </style> <span style="cursor:hand;">hand 手型</span> <span style="cursor:crosshair;">crosshair 十字</span> <span style="cursor:text;">text 文本</span> <span style="cursor:wait;">wait 等待</span> <span style="cursor:help;">help 问号</span> <span style="cursor:e-resize;">e-resize 右的箭头</span> <span style="cursor:ne-resize;">ne-resize 右上的箭头</span> <span style="cursor:n-resize;">n-resize 上的箭头</span> <span style="cursor:nw-resize;">nw-resize 左上的箭头</span> <span style="cursor:w-resize;">w-resize 左的箭头</span> <span style="cursor:sw-resize;">sw-resize 左下的箭头</span> <span style="cursor:s-resize;">s-resize 下的箭头</span> <span style="cursor:se-resize;">se-resize 右下的箭头</span> <span style="cursor:move;">move 移动</span> <p>查找更多代码,请访问:<a href="http://www.xiaoxiangzi.com" target="_blank">小祥子站</a></p>

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表