CSS的光标属性

WBOY
WBOY 转载
2023-09-07 15:13:02 174浏览

CSS的光标属性

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的光标属性的详细内容,更多请关注php中文网其它相关文章!

声明:本文转载于:tutorialspoint,如有侵犯,请联系admin@php.cn删除