How to set a custom cursor in html?

0

Issue

I want to use a custom cursor icon for my web site (permanently).

How can I do it?

The cursor is downloaded as a simple .ico file.
I have tried the custom cursor command but it did not seem to work.

Solution

html, body {
    cursor: url("cursor.ico"), default;
    /* just change the cursor.ico path to your location */
}

https://davidwalsh.name/css-custom-cursor

Answered By – Benni

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More