Я пытаюсь использовать макет на основе flexbox, чтобы получить липкий нижний колонтитул для моей страницы. Это хорошо работает в Chrome и Firefox, но в IE11 нижний колонтитул находится сразу после моего основного контента. Другими словами, основной контент не растягивается, чтобы заполнить все доступное пространство.
body {
border: red 1px solid;
min-height: 100vh;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-direction: column;
-webkit-flex-direction: column;
flex-direction: column;
}
header, footer {
background: #dd55dd;
}
main {
background: #87ccfc;
-ms-flex: 1 0 auto;
-webkit-flex: 1 0 auto;
flex: 1 0 auto;
}
<body>
<header role="banner"><h1> .. </h1></header>
<main role="main">
<p>.....</p>
</main>
<footer>...</footer>
</body>