The ::-webkit-search-results-button CSS pseudo-element represents a button (the "search results button") at the left edge of an input of type="search" which when clicked displays a menu which allows the user to choose from previous recent search queries. This button and pseudo-element are non-standard, supported only in WebKit and Blink, hence the vendor prefix. The search results button is only shown on search input elements that have a results attribute.
Syntax
selector::-webkit-search-results-button {
/* ... */
}
Specifications
Not part of any standard.
Browser compatibility
See also
- ::-webkit-search-cancel-button
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
