Open zhaobinglong opened 4 years ago
<body>
<div class="content"></div>
<footer></footer>
</body>
#body{
display: flex;
flex-direction: column;
min-height:100vh; /* 最小高度同样为屏幕高度 */
}
.content {
flex:1;
}
footer {
padding: 10px;
}
瀑布流布局