Use inherit to fix legend color

Clarifies that the fix applies to <legend> within <fieldset>
This commit is contained in:
Jonathan Neal 2016-03-15 17:57:06 -04:00
parent c3da6c1226
commit 977827d56f

4
normalize.css vendored
View File

@ -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 */
}