Open this example in the interactive library
Source code
<style>
.demo::file-selector-button {
background-color: #ccfbf1;
border: 0;
padding: 0.5rem;
margin-right: 0.5rem;
}
</style>
<input class="demo" type="file" aria-label="Attachment" />