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

CSS cursor properties

WBOY
Release: 2023-09-07 15:13:02
forward
656 people have browsed it

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>
Copy after login

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

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template