Cursor property of CSS

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>
Updated on: 2020-03-04T11:14:54+05:30

90 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements