Posted by Custom Cursor for Den?

Moony (#72069)

Impeccable
View Forum Posts


Posted on
2017-12-18 15:58:39
I've seen lots of people with one, but I can't find the code for it. Thanks in advance



Hrt Icon 0 players like this post! Like?

Coffee Cup ☕ (#133288)

Majestic
View Forum Posts


Posted on
2017-12-21 16:01:55
Hello! The basic code is simple:

System cursorURL image
body, a:hover {
cursor: value;
}
body, a:hover {
cursor: url('URL'), value;
}


Instead of "value" you can use any of the predefined cursor names, like "default", "pointer", "crosshair" etc. More can be found here: link. In case of the URL, the cursor name after the link is there in case the linked image fails to load, at least afaik. You can also swap "body" with any other element over which you want a certain cursor to be displayed.



Hrt Icon 1 player likes this post! Like?

Ally (#197029)

Heavenly
View Forum Posts


Posted on
2020-03-19 08:03:46
I tried the URL image code, but it didnt work for me...



Hrt Icon 0 players like this post! Like?







Memory Used: 624.02 KB - Queries: 2 - Query Time: 0.00079 - Total Time: 0.00470s