mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Remove default a
and a:visited
color normalizations.
Inclusion of these normalizations can result in unwanted or unexpected consequences. This is because `a:visited` has a specificity of 0,0,1,1. Therefore, the pseudo-class has to be included in every author link-style with a lower specificity. This is not expected behaviour when building up link styles from the browser defaults. Very little is lost by removing the link color normalization.
This commit is contained in:
parent
6d085d7e52
commit
26f9a3f065
10
normalize.css
vendored
10
normalize.css
vendored
@ -1,4 +1,4 @@
|
|||||||
/*! normalize.css 2011-09-22T17:42 UTC - http://github.com/necolas/normalize.css */
|
/*! normalize.css 2011-10-24T11:29 UTC - http://github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
HTML5 display definitions
|
HTML5 display definitions
|
||||||
@ -95,14 +95,6 @@ textarea {
|
|||||||
Links
|
Links
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
a {
|
|
||||||
color: #00e;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:visited {
|
|
||||||
color: #551a8b;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Addresses outline displayed oddly in Chrome
|
* Addresses outline displayed oddly in Chrome
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user