mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Normalize file select buttons (#574)
This commit is contained in:
parent
2c4e2182e0
commit
26b2588335
12
normalize.css
vendored
12
normalize.css
vendored
@ -293,7 +293,7 @@ select { /* 1 */
|
|||||||
/**
|
/**
|
||||||
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
||||||
* controls in Android 4.
|
* controls in Android 4.
|
||||||
* 2. Correct the inability to style clickable types in iOS.
|
* 2. Correct the inability to style clickable types in iOS and Safari.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
button,
|
button,
|
||||||
@ -408,3 +408,13 @@ textarea {
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
opacity: 0.54;
|
opacity: 0.54;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||||
|
* 2. Change font properties to `inherit` in Chrome and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
::-webkit-file-upload-button {
|
||||||
|
-webkit-appearance: button; /* 1 */
|
||||||
|
font: inherit; /* 2 */
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user