mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Make tap-highlight-color fix work for Android devices. Fix #2
This commit is contained in:
parent
c71f67d42a
commit
ae8afed13b
4
normalize.css
vendored
4
normalize.css
vendored
@ -37,7 +37,7 @@ video {
|
||||
/*
|
||||
* 1. Add vertical scrollbar to <html> element
|
||||
* Keeps page centred in all browsers regardless of content height
|
||||
* 2. Remove iOS tap highlight color to prevent entire container being highlighted
|
||||
* 2. Remove Android and iOS tap highlight color to prevent entire container being highlighted
|
||||
* www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
|
||||
* 3. Remove iOS text size adjust without disabling user zoom
|
||||
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
||||
@ -45,7 +45,7 @@ video {
|
||||
|
||||
html {
|
||||
overflow-y: scroll; /* 1 */
|
||||
-webkit-tap-highlight-color: transparent; /* 2 */
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0); /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 3 */
|
||||
-ms-text-size-adjust: 100%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user