::file-selector-button
The ::file-selector-button
in CSS is a pseudo-element that selects <input type="file">
in HTML.
input::file-selector-button {
background-color: #f8a100;
}
You’ve undoubtedly come across file upload inputs — they’re very common, especially for including file attachments in a form, like a PDF …