HTML mouse css control

HTML mouse css control
Generally speaking, the mouse is displayed as an upward slanting arrow, which becomes a headed vertical line when moved over text, and becomes a hand shape when moved over a hyperlink. However, CSS can be used to control the display effect of the mouse, such as making the mouse appear as a hand shape when it moves over ordinary text.
The syntax for controlling with CSS is as follows:
<span style="cursor:*">Text or other page elements</span>
Replace * with one of the following 15 effects:
hand, crosshair, text, wait, default, help, e-resize, ne-resize, n-resize, nw-resize, w-resize, sw-resize, s-resize, se-resize, and auto.

Below is an explanation of each of the 15 effects. Move your mouse over the explanation and see what happens to your mouse!
hand is the hand shape
Crosshair is a cross
text is the effect of moving to the text
Wait is the effect of waiting
default is the default effect
help is a question mark
e-size is a right-pointing arrow
ne-resize is an arrow pointing to the upper right
n-resize is an upward arrow
nw-resize is an arrow pointing to the upper left
w-resize is a left arrow
sw-resize is the lower left arrow
s-resize is the downward arrow
se-resize is the arrow pointing down to the right
auto is the system automatically gives the effect

<<:  What are the advantages of using B+ tree index in MySQL?

>>:  How to handle token expiration in WeChat Mini Programs

Recommend

Web front-end development experience summary

XML files should be encoded in utf-8 as much as p...

Tips on HTML formatting and long files for web design

<br />Related articles: 9 practical suggesti...

Summary of MySQL 8.0 memory-related parameters

Theoretically, the memory used by MySQL = global ...

Explanation of Dockerfile instructions and basic structure

Using Dockerfile allows users to create custom im...

Tutorial on Migrating Projects from MYSQL to MARIADB

Prepare the database (MySQL). If you already have...

Solution for installing opencv 3.2.0 in Ubuntu 18.04

Download opencv.zip Install the dependencies ahea...

Analyze the usage and principles of Vue's provide and inject

First, let's talk about why we use provide/in...

Q&A: Differences between XML and HTML

Q: I don’t know what is the difference between xml...

Nginx dynamic and static separation implementation case code analysis

Separation of static and dynamic Dynamic requests...

Detailed explanation of samba + OPENldap to build a file sharing server

Here I use samba (file sharing service) v4.9.1 + ...

CSS beginner tutorial: background image fills the entire screen

If you want the entire interface to have a backgr...

JavaScript type detection method example tutorial

Preface JavaScript is one of the widely used lang...

Solution for front-end browser font size less than 12px

Preface When I was working on a project recently,...

How to install and deploy ftp image server in linux

Refer to the tutorial on setting up FTP server in...

CSS to implement sprites and font icons

Sprites: In the past, each image resource was an ...