html, css - cursor - how to change default image for pointer

前端 未结 6 1974
傲寒
傲寒 2021-01-05 02:08

I need to change the default image for cursor: pointer with some custom image.

To create a class and specify the hover value for cursor is not a valid solution since

6条回答
  •  囚心锁ツ
    2021-01-05 02:25

    Using the "cursor" property is the same as with any CSS property- simply apply it to the desired element:

    
    

    This changes the default arrow cursor of a webpage to a custom image instead.

提交回复
热议问题