Home >Web Front-end >CSS Tutorial >CSS cursor properties

CSS cursor properties

WBOY
WBOYforward
2023-09-07 15:13:02660browse

CSS cursor properties

The cursor property of CSS allows you to specify the type of cursor that should be displayed to the user.

Example

<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>

The above is the detailed content of CSS cursor properties. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete