Hey Readers!
A cursor is a very important thing to be seen on a computer screen. By the name of a cursor, we usually get an image of an arrow in our mind. It is a movable arrow on a computer screen that identifies the point of the user (user's location).
The cursor property in CSS makes the cursor appear in different forms for different functions.
Basically, the property indicates what the cursor will look like at a certain point. When the cursor will be located over a particular element, the property set will work. This helps us understand better what does the cursor indicate what at that location.
The syntax for the same is given below.
Syntax :
cursor: value;
There are many such cursor functions. These are provided below within a category.
General :
- auto : determined by browser
- default : generally an arrow
- none : no cursor
Links and Status :
- help : indicates help
- pointer : a hand
- progress : the program is busy
- wait : the program is busy
Selection :
- cell : selection of cells
- crosshair : selection in a bitmap
- text : selection of text
Drag and Drop :
- move : someting can be moved
- no-drop : drop is not allowed
- not-allowed : something cannot be done
Zoom :
- zoom-in : magnify in
- zoom-out : magnify out
Grab :
- grab : something can be grabbed
- grabbing : in the process of grabbing
Keep Coding!
0 Comment(s)