mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Remove a:focus
outline normalization
My hypothesis is that it's more important for a user to get the focus style they expect *within* their browser than it is to have consistent focus styles *between* browsers. In particular, replacing Chrome's default focus style (esp. just for links) seems presumptuous. Component designers/developers can make the decision on when to modify these browser defaults. Fix gh-216
This commit is contained in:
parent
ccbb28b123
commit
4b94eb7d4d
8
normalize.css
vendored
8
normalize.css
vendored
@ -90,14 +90,6 @@ a {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Address `outline` inconsistency between Chrome and other browsers.
|
|
||||||
*/
|
|
||||||
|
|
||||||
a:focus {
|
|
||||||
outline: thin dotted;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Improve readability when focused and also mouse hovered in all browsers.
|
* Improve readability when focused and also mouse hovered in all browsers.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user