Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-pseudo/file-selector-button-001.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>::file-selector-button allows to customize the button in <input type=file></title>
<link rel="mismatch" href="file-selector-button-001-notref.html">
<style>
input::file-selector-button {
background: green;
color: white;
}
</style>
<input type="file">