Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2017-05-05 11:53:45 +0300
committerGitHub <noreply@github.com>2017-05-05 11:53:45 +0300
commit7338da0cdb98e61c8b3741c29abea8e52357603b (patch)
tree4559ccb7ebcf5c3ba1faadb7ed2b229bc3e99d76 /scss
parent02d1776069c606c1379bb5fe72e1875f21ad11ee (diff)
Add shim for "new" HTML5 structural elements (#22573)
For IE10 (and any older browsers) support , so at least the layout doesn't fall apart if author is using them.
Diffstat (limited to 'scss')
-rw-r--r--scss/_reboot.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index 6a8c6ab370..33fc2d660a 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -39,6 +39,10 @@ html {
@-ms-viewport { width: device-width; }
}
+// Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
+article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
+ display: block;
+}
// Body
//