I am trying to get an sticky footer for my project. During my search I found this website, and I wanted to use the flexbox option.
Now does it work perfect on Chrome and Firefox, but on IE 11 it seems to have trouble with the display: flex
.
I've tried using display: -ms-flexbox
but it doesn't help.
Any ideas?
html {
height: 100%;
}
body {
min-height: 100%;
display: flex;
flex-direction: column;
margin-bottom: 0px!important;
}
.container.wrapper {
flex: 1;
min-height: 0px!important;
}
<html>
<head></head>
<body>
<header></header>
<div class="container wrapper"></div>
<footer>abcd</footer>
</body>
</html>