0
Chrome 및 Firefox 모두에서 컨테이너 유체 div가 포함 된 플렉스 바디로 이상한 동작이 발생합니다. 플렉스 바디가있는 부트 스트랩 컨테이너 - 유체 Chrome 및 Firefox
html, body {
height: 100%;
min-height: 100%;
overflow: hidden;
}
body {
display: flex;
flex-direction: column;
}
.body-content {
display: flex;
flex-flow: column;
flex: 1 1 auto;
background: yellow;
}
.footer {
background: #930D25;
color: #fff;
text-align: center;
height: 45px;
font-family: segoe ui,Arial,sans-serif;
flex: 0 0 auto;
z-index:3;
}
<header class="navbar navbar-inverse">Header stuff</header>
<div class="container-fluid body-content">
<h2>Stuff</h2>
<div class="row">
<div class="col-md-8">
Garbage
</div>
</div>
</div>
<footer class="footer">
<div>
<p>our cool site</p>
</div>
</footer>
https://css-tricks.com/almanac/properties/f/ flex/ – Roberrrt
뭔가 빠져있을 수도 있지만 flex의 기본에 대한 링크는이 문제를 해결하기 위해 아무 것도 말해주지 않았습니다. – Stephen