How can use flex instead of height: 100%?

后端 未结 0 1937
一整个雨季
一整个雨季 2021-02-02 04:10

I do not prefer using width and height as 100%. I am using the flex instead of % as for example.

div {
    flex: 0 0 100%;   // Instead of width: 100%;
}
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题