mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
add button for file-type input element
This commit is contained in:
parent
235a6a6380
commit
6a5a4f2de5
1 changed files with 11 additions and 0 deletions
|
@ -82,6 +82,17 @@ input[type="radio"]::before {
|
|||
|
||||
input[type="radio"]:checked::before { content: "●"; line-height: 1em; }
|
||||
|
||||
input[type="file"]::before {
|
||||
content: "Choose File";
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
background: lightgrey;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
color: black;
|
||||
}
|
||||
|
||||
select {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue