Home > Article > Web Front-end > How to set the link in css not to display the mouse hand
In CSS, you can use the cursor attribute to set the link not to display the mouse hand. The function of this attribute is to specify the cursor shape displayed by the element. When the value of this attribute is "default", the cursor of the link will not be displayed. A small hand will be displayed, and the syntax is "cursor:default;".
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
#How to set the link in css not to display the mouse hand
In css, you can use the cursor attribute to set the link to not display the mouse hand style. This attribute Used to specify the type (shape) of the cursor to be displayed.
The setting of this attribute value is as follows:
Let’s take an example to see how to set the mouse to not display the small hand when passing through the connection. The example is as follows:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" /> <title>123</title> <style> a{ cursor:default; } </style> </head> <body> <a href="https://www.php.cn/course/list/12.html" target="_blank">css视频教程</a> </body> </html>
Output result:
(Learning video sharing: css video tutorial)
The above is the detailed content of How to set the link in css not to display the mouse hand. For more information, please follow other related articles on the PHP Chinese website!