mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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
1 changed files with 6 additions and 7 deletions
|
@ -18,8 +18,13 @@
|
|||
// we force a non-overlapping, non-auto-hiding scrollbar to counteract.
|
||||
// 6. Change the default tap highlight to be completely transparent in iOS.
|
||||
|
||||
html {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box; // 1
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: sans-serif; // 2
|
||||
line-height: 1.15; // 3
|
||||
-webkit-text-size-adjust: 100%; // 4
|
||||
|
@ -28,12 +33,6 @@ html {
|
|||
-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.
|
||||
@at-root {
|
||||
@-ms-viewport { width: device-width; }
|
||||
|
|
Loading…
Reference in a new issue