wxml:
wxss:
wxss:加入display:flex后
请问display:flex具体啥作用,为什么只加入了这一条就会产生如此大的差距。(以上为全部代码)
flex布局的效果是啥,为啥会出现下面的情况?What is the effect of flex layout, and why does the following situation occur?
flex布局的效果是啥,为啥会出现下面的情况?wxml:
wxss:
wxss:加入display:flex后
请问display:flex具体啥作用,为什么只加入了这一条就会产生如此大的差距。(以上为全部代码)
Wxml: wxss: wxss: after adding display: flex, what is the specific function of display: flex, and why only adding this item will lead to such a big gap. (all codes above)
回答:
好好康康 css 关于 flex 布局的就明白了
你height直接220rpx不行?还有你这个写法就很奇怪,了解一下calc height: calc(100% - 20rpx)