I am using a input type search in my application. I want to display cursor:pointer
when user mouse hover on x icon in search box , i tried to find out css for this but not find anything releated to this.
<input type="search">
Perhaps something like this can work?
input[type="search"]::-webkit-search-decoration:hover,
input[type="search"]::-webkit-search-cancel-button:hover {
cursor:pointer;
}
<input type="search">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With