2

My question is quite similar to another one on Stack Oweflow, however the answer on the other question didn't help me.

So I tried to hide the cursor on a webpage by writing following code in my stylesheet:

* { cursor: none; }

It works fine on some parts of the website but in other parts you can see it. Anyone had a similar problem and/or knows the answer?

  • Possible duplicate of [Is it possible to hide the cursor in a webpage using CSS or Javascript?](http://stackoverflow.com/questions/1071356/is-it-possible-to-hide-the-cursor-in-a-webpage-using-css-or-javascript) – Luciano Jan 08 '16 at 15:06
  • @Luciano No, I don't want to do it in Javascript, that is unnecessary –  Jan 08 '16 at 15:07
  • Read the answer again, it uses CSS and gives the option of using JS – Luciano Jan 08 '16 at 15:12
  • @Luciano No read my question again. I already have the "cursor: none;" but it doesn't works. And like I said, I don't want to use JS for that. Thanks anyway –  Jan 08 '16 at 15:14

1 Answers1

7

It will still show on elements, that have their own cursor: ... defined.

You can use * { cursor: none !important; } to avoid this and make it work ... but some might say never use !important

CoderPi
  • 12,985
  • 4
  • 34
  • 62