Jump to content

Custom Trailing cursor with animation

Go to solution Solved by jac.cunningham,

Recommended Posts

I followed a YouTube guide but it's old and not getting a response. He said either CSS or JS

https://codepen.io/designcourse/pen/GzJKOE 
In order for the code to work, do I need any additional elements besides the CSS code in the middle block of the url displayed above?

I uploaded the CSS code plus an image, eg a black dot for the cursor (where the code says //cursor: none; ) and all I get is a black dot.  If I take out the black dot url, I get no change.

I am clearly missing something. Working on 7.1

The cursor displayed at the bottom of the screen is exactly what I want to achieve.

Edited by jac.cunningham
URL disappeared
Link to comment
  • jac.cunningham changed the title to Custom Trailing cursor with animation
  • 4 weeks later...
  • Solution

Thank you. I worked it out.
Also had to add ", auto !important; " after the URL.

// CURSOR change HOVER //


body {
margin: 0;
height: 100vh;
cursor: none, auto;
/REPLACE none with custom URL/
}
a:hover{
cursor: url(REPLACE none with custom URL), auto !important;
/REPLACE THIS URL/
}

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.