Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 flexbox(手风琴)有疑问。在下面的示例中,我有一组内容,每个组在水平弹性框中都有一个单元格,每个单元格内都有与每个组相关的内容。
现场示例和代码在这里。
问题是当一个组的内容太大时,它会溢出弹性框,我无法为此提出解决方案。
.box将的height声明更改为min-height. 我已经用结果分叉了你的 jsFiddle:http: //jsfiddle.net/MzFhN/1/
.box
height
min-height