mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 05:03:16 +02:00
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.
This commit is contained in:
@@ -39,6 +39,10 @@ html {
|
|||||||
@-ms-viewport { width: device-width; }
|
@-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
|
// Body
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user