2
I would like to know how I change the cursor, putting an image I want, is possible ?
I’ve tried to do it this way:
CSS?
#esquerda{
width: 400px;
height: 600px;
border: 2px solid red;
cursor: url(imagens/cursor-154478__180.png);
}
but nothing happens, but if I change the part of the url on to a crosshair
they work, someone could help me?
The url needs to use single quotes.
cursor: url('imagens/cursor-154478__180.png');
– Olimon F.
In a precise no.
– Erlon Charles
In function
url
you should use quotes and start the value with a/, indicating the root folder. Example:cursor: url('/imagens/cursor-154478__180.png');
– CypherPotato