Search code examples
asp.netcsscustom-cursor

How to assign custom cursors to entire website


I want to assign custom cursors to my entire website. I am using asp.net 4.0.

I have a master page and what I want is to assign a default custom cursor to the page and have all links use another custom cursor

Is this possible?


Solution

  • makes the body one cursor type

    body {
      cursor: url(path/to/cursor.ico) pointer;
    }
    

    makes your anchors another type

    a, a:active, a:hover, a:visited{
      cursor: url(path/to/different_cursor.ico) pointer;
    }