Cursor property of CSS

CSSWeb DevelopmentFront End Technology

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>
raja
Updated on 04-Mar-2020 11:14:54

Advertisements