Hiding the clear input button of Edge (with EdgeHTML engine)

Posted . Visible to the public. Deprecated.

We no longer support Edge with the old EdgeHTML engine.

Edge (and some versions of Internet Explorer, like IE11) use to render a × clear input button on text fields. While this is intended as a nicety for users, it comes in annoying when you've built and styled your own clear input button.

Hide the Edge × with this pseudo selector:

input::-ms-clear
  display: none
Dominik Schöler
Last edit
Dominik Schöler
License
Source code in this card is licensed under the MIT License.
Posted by Dominik Schöler to makandra dev (2019-08-30 10:08)