♥️♥️解决flex-1下的div高度100%失效的问题

103 阅读1分钟

cssfuck第一期

⭕️⭕️⭕️必须给flex:1加上以下样式⭕️⭕️⭕️

.bottom{
    ...
    display: grid; // requried
    ...
}

❌❌❌我在网上搜索到必须要加以下样式❌❌❌毫无错用

.bottom{
    ...
    height: 0;
    ...
}

代码