Hide the clear button for input type search

This commit is contained in:
Meet Patel
2023-08-05 10:56:50 +05:30
parent e9e3de2ce8
commit 44e48e3c3f
+13
View File
@@ -49,3 +49,16 @@ input:focus {
}
}
}
/* Hide the clear button for input type "search" */
input[type="search"]::-webkit-search-cancel-button {
display: none;
}
input[type="search"]::-ms-clear {
display: none;
}
input[type="search"]::-ms-reveal {
display: none;
}