kittylover
kittylover

Reputation: 5

How do i make a custom cursor on html?

body { 
  cursor: url(cursor.png), auto;
}

I've tried to have it be as an external link, it did not work. I have also tried to add "" inside of the url with both an internal and external link and it did not work.

Upvotes: 0

Views: 1394

Answers (1)

Try this:-

body {
    cursor: url('https://davidwalsh.name/demo/css-custom-cursor.ico'), default;
}
<h1>test</h1>

Upvotes: 2

Related Questions