【发布时间】:2020-01-18 16:49:32
【问题描述】:
如何使用 flex 将左列(块)的高度设置为 100%?我有这样的 dom:
<LeftPanel>
<Logo />
<Profile />
<Chat />
<SocialButtons />
</LeftPanel>
LeftPanel 高度为 100%。 Chat 应该按可用空间增长或缩小,但事实并非如此。我应该如何使用 css(scss) flex 呢?
【问题讨论】:
-
到目前为止你用过什么css?