mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
* Fix to Chrome inheritance bug (#22872) * Remove box-sizing from html box-sizing removed from html and order of wild card selected and html selector swapped to maintain correctness of comments.
This commit is contained in:
parent
ffa789327b
commit
7b66aeb2f6
@ -18,8 +18,13 @@
|
|||||||
// we force a non-overlapping, non-auto-hiding scrollbar to counteract.
|
// we force a non-overlapping, non-auto-hiding scrollbar to counteract.
|
||||||
// 6. Change the default tap highlight to be completely transparent in iOS.
|
// 6. Change the default tap highlight to be completely transparent in iOS.
|
||||||
|
|
||||||
html {
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
box-sizing: border-box; // 1
|
box-sizing: border-box; // 1
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
font-family: sans-serif; // 2
|
font-family: sans-serif; // 2
|
||||||
line-height: 1.15; // 3
|
line-height: 1.15; // 3
|
||||||
-webkit-text-size-adjust: 100%; // 4
|
-webkit-text-size-adjust: 100%; // 4
|
||||||
@ -28,12 +33,6 @@ html {
|
|||||||
-webkit-tap-highlight-color: rgba(0,0,0,0); // 6
|
-webkit-tap-highlight-color: rgba(0,0,0,0); // 6
|
||||||
}
|
}
|
||||||
|
|
||||||
*,
|
|
||||||
*::before,
|
|
||||||
*::after {
|
|
||||||
box-sizing: inherit; // 1
|
|
||||||
}
|
|
||||||
|
|
||||||
// IE10+ doesn't honor `<meta name="viewport">` in some cases.
|
// IE10+ doesn't honor `<meta name="viewport">` in some cases.
|
||||||
@at-root {
|
@at-root {
|
||||||
@-ms-viewport { width: device-width; }
|
@-ms-viewport { width: device-width; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user