flex:1到底是什么

lex实际上是flex-grow、flex-shrink和flex-basis三个属性的缩写。

flex:1 => flex: 1 1 auto;

 

原文链接:https://blog.csdn.net/weixin_43554584/article/details/113839778

posted @ 2022-07-20 23:28  每日一小步  阅读(152)  评论(0编辑  收藏  举报