How To Remove The "Clear All" Button From Search Input
Jul 18, 2023 · 1 min readWhen you create a search input, <input type="search" />
, in HTML. It’s going to display a clear all button, usually shaped as a cross (“X”), at the end of the input.
I am talking about this:
We can remove the “X” with these CSS:
That’s it! Have a good day 😊.