aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-11-25 23:03:07 -0800
committerGitHub <[email protected]>2016-11-25 23:03:07 -0800
commit308bc77dbb412e4df1194459a9b34ad72da02ca6 (patch)
treee50f066926058287fa3325e8d0ea9c89d1876810
parentce18a66809823966dc9b8748d54b2087f752ea52 (diff)
downloadbootstrap-308bc77dbb412e4df1194459a9b34ad72da02ca6.tar.xz
bootstrap-308bc77dbb412e4df1194459a9b34ad72da02ca6.zip
Update bootstrap-grid.scss to include box-sizing and responsive changes (#21202)
-rw-r--r--scss/bootstrap-grid.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/scss/bootstrap-grid.scss b/scss/bootstrap-grid.scss
index 40680ca96..1df8ea3b6 100644
--- a/scss/bootstrap-grid.scss
+++ b/scss/bootstrap-grid.scss
@@ -3,6 +3,25 @@
// Includes relevant variables and mixins for the regular (non-flexbox) grid
// system, as well as the generated predefined classes (e.g., `.col-4-sm`).
+//
+// Box sizing, responsive, and more
+//
+
+@at-root {
+ @-ms-viewport { width: device-width; }
+}
+
+html {
+ box-sizing: border-box;
+ -ms-overflow-style: scrollbar;
+}
+
+*,
+*::before,
+*::after {
+ box-sizing: inherit;
+}
+
//
// Variables