This Post is tell how to use custom or pre-defined Cursors on your website. First of all let's start with pre-defined cursors.
Some built-in cursors
- auto
- default
- none
- context-menu
- help
- pointer
- progress
- wait
- cell
- crosshair
- text
- vertical-text
- copy
- move
- no-drop
- not-allowed
- all-scroll
- col-resize
- row-resize
- n-resize
- s-resize
- e-resize
- w-resize
- ns-resize
- ew-resize
- ne-resize
- nw-resize
- se-resize
- sw-resize
- nesw-resize
- nwse-resize
.class-name{
cursor: url('custom-cursor-image-url'), auto;
}
You can also change cursor on hover
.class-name:hover{
cursor: url('custom-cursor-image-url'), auto;
}
0 comments:
Post a Comment
Please Note :- We have Zero Tolerance to Spam comments.