PHP前端开发

CSS的光标属性

百变鹏仔 4周前 (09-20) #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>