Home  >  Article  >  Web Front-end  >  How to change mouse style in css

How to change mouse style in css

藏色散人
藏色散人Original
2018-12-03 14:33:353815browse



Common mouse styles are arrows or small hand shapes. In addition, we can according to our own requirements, Use the cursor property in CSS to change the appearance of the mouse cursor.

How to change mouse style in css

Recommended study: "CSS Tutorial"

Below we will introduce to you the differences of the mouse cursor style.

The code is as follows:





    


十字准线
text
等待的形状
移动的形状
帮助的形状
默认的形状
小手状

You can copy the above code locally for testing. When the mouse hovers over each hyperlink, the different changes will be displayed. Cursor style.

Crosshair style:


How to change mouse style in css

##Text Style when editing:

How to change mouse style in css

Waiting style:

How to change mouse style in css

Mobile style:

How to change mouse style in css

Help style:

How to change mouse style in css

Default arrow style:

How to change mouse style in css

Small hand style:

How to change mouse style in css

cursor Property specifies the type (shape) of the cursor to be displayed. This property defines the cursor shape used when the mouse pointer is placed within the bounds of an element (although CSS2.1 does not define which bounds determine this range).

This article is a brief introduction to CSS mouse cursor styles. I hope it will be helpful to friends in need!



The above is the detailed content of How to change mouse style in css. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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