为什么要使用flex-basis与width / height? 由 亚咩跌发布于 2020-05-23 23:32:33 我正在做关于flex的教程,我了解除...以外的所有内容。 我不了解flex-basis的价值。 (假设行)最小宽度,宽度,最大宽度不做什么? 用例是什么?
Compared to
min-width
, it doesn't destroy your layout.Have a look here, try to select the third option (
flex-basis: 200px
) and replace it withmin-width: 200px
with the inspector.