mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-06 04:04:21 +00:00
Use inherit to fix legend color
Clarifies that the fix applies to <legend> within <fieldset>
This commit is contained in:
parent
c3da6c1226
commit
977827d56f
4
normalize.css
vendored
4
normalize.css
vendored
@ -397,12 +397,12 @@ fieldset {
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 1. Correct `color` not being inherited from fieldset in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
color: inherit; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user