海量收录 · 12,310+ 源码 / 模板 / 插件 / 教程,付款后立即下载 开通会员享折扣| 我的订单| 客服 QQ 923457156
前端开发教程

CSS的光标属性

2025-01-14 43 次浏览 免费资源

CSS 的cursor属性允许您指定应向用户显示的光标类型。

示例

<html>
   <head>
   </head>
   <body>
      <p>Move the mouse over the words and see the changes in cursor:</p>
      <div style = cursor:auto>Auto</div>
      <div style = cursor:crosshair>Crosshair</div>
      <div style = cursor:default>Default</div>
   </body>
</html>

以上就是CSS的光标属性的详细内容,更多请关注双恒网络其它相关文章!

免费下载无需付费,点击即可获取
去下载