mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Merge pull request #531 from necolas/fix/363
Use inherit to fix legend color
This commit is contained in:
commit
d689630ff8
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.
|
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
border: 0; /* 1 */
|
color: inherit; /* 1 */
|
||||||
padding: 0; /* 2 */
|
padding: 0; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user