Skip to content

Instantly share code, notes, and snippets.

@slavkapiyavka
Created May 12, 2023 19:13
Show Gist options
  • Save slavkapiyavka/bff45baf8e273bce8efb000d75ca32b9 to your computer and use it in GitHub Desktop.
Save slavkapiyavka/bff45baf8e273bce8efb000d75ca32b9 to your computer and use it in GitHub Desktop.
style property hiding the cross clearing the search field
input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment