How to change the cursor?

Is it possible to change the mouse cursor in the browser on the website?
For example, turn it into a square or a circle.
June 14th 19 at 20:21
3 answers
June 14th 19 at 20:23
Solution
what we need, thank you - Ewell commented on June 14th 19 at 20:26
June 14th 19 at 20:25
Solution
https://jsfiddle.net/9v8sgpjk/
I'm just not sure about cursor:none that he is everywhere would be none
html {
 cursor: none;
}

that's it,in the General case, to html, not body.
Or for a body set to 100% height. - Ewell commented on June 14th 19 at 20:28
sorry that there is jQuery ( - Elmer.Upt commented on June 14th 19 at 20:31
June 14th 19 at 20:27
Yes, just do not understand why you put a tag js, your problem is solved through styles tyk
I suspect that the author simply does not like or does not accept the CSS, it's just the JS version interested :))) - Ewell commented on June 14th 19 at 20:30
Well, how do I make the cursor in a square 30х30рх?
Red.
And then to play with its size and color. - Elmer.Upt commented on June 14th 19 at 20:33
can different classes to do, and on a certain event to change the class.

If it is necessary to play, you can look for a plugin with something like drag and drop, only the task that would block ran over them always, and the cursor was transparent pixel for example. - Ewell commented on June 14th 19 at 20:36
and example can?
30x30 red color, not the picture. - Salvado commented on June 14th 19 at 20:39
not a picture - it is impossible - Ewell commented on June 14th 19 at 20:42
for this , why? What specific type of content it is impossible to give position absolute? - Bell_Anders commented on June 14th 19 at 20:45
generally it was "impossible to make a cursor that is square and red with no pictures" about the position without a word said. - Ewell commented on June 14th 19 at 20:48
well, not necessarily exactly the cursor to change, there are variants easier, as rightly noticed, I gave an example. - Elmer.Upt commented on June 14th 19 at 20:51

Find more questions by tags JavaScript