我试图设置一个flexbox有三列,其中左和右列有固定的宽度,中心列弯曲,以填补可用空间。
尽管设置了列的维度,它们仍然似乎随着窗口的缩小而缩小。
任何人都知道如何完成这个?
我需要做的另一件事是根据用户交互隐藏正确的列,在这种情况下,左列仍然保持其固定宽度,但中心列将填充剩余的空间。
#container {
display: flex;
justify-content: space-around;
align-items: stretch;
max-width: 1200px;
}
.column.left {
width: 230px;
}
.column.right {
width: 230px;
border-left: 1px solid #eee;
}
.column.center {
border-left: 1px solid #eee;
}
Anxiety was a blog series that ran in the New York Times Opinion section from January 2012 to July 2013. It featured essays, fiction, and art by a wide range of contributors that explored anxiety from scientific, literary, and artistic perspectives.
Balint Zsako
Someone’s Knocking at My Door
01.12.13