w3resource

User Interface - Cursor: auto

Cursor: auto

If the value of the cursor property is set to auto, it is the user agent(s) which decide how the cursor will look like depending on the current context.

Here is the css file (say auto.css):

.auto {cursor: auto;}

Here is the html file (say auto.html):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>example of external CSS - auto </title>
<link href="auto.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p><a href="test.htm" class="auto">Click here to go learn more about CSS.</a></p>
<p>&nbsp;</p>
</body>
</html>

Here is how it will look:

In the consequent pages, we will see each of the cursor property value in detail along with the example.

Previous: CSS User Interface
Next: User Interface - Cursor: crosshair



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://www.w3resource.com/css/user-interface/auto.php