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:
Patrick H. Lauke 2017-05-05 09:53:45 +01:00 committed by GitHub
parent 02d1776069
commit 7338da0cdb
1 changed files with 4 additions and 0 deletions

View File

@ -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
//