How to hide the eye from a password input in MS Edge

To hide the default hide/show password input field in the MS edge we need to disappears by using css property .

The ::ms-clear is working and removes the little x where the user can clear the input. But the ::ms-reveal isn’t working.

input[type=”password”]::-ms-reveal,

input[type=”password”]::-ms-clear {

 display: none;

}

and

input::-ms-reveal,

input::-ms-clear {

 display: none;

}

Leave a comment

Your email address will not be published. Required fields are marked *