inline-flex值的含义

css中, flex设置在container中,默认情况下占用全部空间,但是如果使用inline-flex值,则container具有inline-block元素的某种特点,只占用需要的宽度

 

posted @ 2018-01-14 18:33  世有因果知因求果  阅读(1565)  评论(0编辑  收藏  举报