Make link styling opt-in instead of opt-out

This commit is contained in:
Adam Wathan 2019-03-13 13:26:19 -04:00
parent 38b17dfa6c
commit f4e9100799
3 changed files with 30 additions and 0 deletions

View File

@ -499,6 +499,16 @@ h6 {
font-weight: inherit;
}
/**
* Reset links to optimize for opt-in styling instead of
* opt-out.
*/
a {
color: inherit;
text-decoration: inherit;
}
/**
* Reset form element properties that are easy to forget to
* style explicitly so you don't inadvertently introduce

View File

@ -499,6 +499,16 @@ h6 {
font-weight: inherit;
}
/**
* Reset links to optimize for opt-in styling instead of
* opt-out.
*/
a {
color: inherit;
text-decoration: inherit;
}
/**
* Reset form element properties that are easy to forget to
* style explicitly so you don't inadvertently introduce

View File

@ -145,6 +145,16 @@ h6 {
font-weight: inherit;
}
/**
* Reset links to optimize for opt-in styling instead of
* opt-out.
*/
a {
color: inherit;
text-decoration: inherit;
}
/**
* Reset form element properties that are easy to forget to
* style explicitly so you don't inadvertently introduce