-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
32 lines (22 loc) · 1.04 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: "::-webkit-search-results-button"
slug: Web/CSS/::-webkit-search-results-button
page-type: css-pseudo-element
status:
- non-standard
browser-compat: css.selectors.-webkit-search-results-button
---
{{CSSRef}}{{Non-standard_header}}
The **`::-webkit-search-results-button`** CSS [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) represents a button (the "search results button") at the left edge of an {{HTMLElement("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 {{HTMLElement("input")}} elements that have a [`results`](/en-US/docs/Web/HTML/Element/input#results) attribute.
## Syntax
```css
selector::-webkit-search-results-button {
/* ... */
}
```
## Specifications
Not part of any standard.
## Browser compatibility
{{Compat}}
## See also
- {{cssxref('::-webkit-search-cancel-button')}}