Hide cursor in Chrome (and IE)

后端 未结 6 1870
南笙
南笙 2021-02-04 04:09

I have the following CSS that hides the mouse cursor for anything on the web page. It works perfectly in Firefox, but in IE and Chrome, it doesn\'t work.

html {
         


        
6条回答
  •  爱一瞬间的悲伤
    2021-02-04 04:46

    This property cursor:none; isn't part of the standard

    See here w3c cursor CSS properties.

    You might want to look into hiding it with Javascript or JQuery.

    Also, look at blank cursor files here.

    And one last link to an ajax solution.

    Chrome has had this issue since it was built, there have been reports sent to the people at Chromium, and I assume they are working on it.

    Also, don't trust that anything would work in IE. Ever. :P

提交回复
热议问题