https://ask.csdn.net/questions/7881873?mustype=must
续上,所期待达到的效果
也就是像table的感觉, 在一行中平均分布三个(两个),并将option大小确定为不以内容而改变。(因有的option较长可能整体要缩小?)
非常感谢
https://ask.csdn.net/questions/7881873?mustype=must
续上,所期待达到的效果
也就是像table的感觉, 在一行中平均分布三个(两个),并将option大小确定为不以内容而改变。(因有的option较长可能整体要缩小?)
非常感谢
一行3个增加下面的样式试试,flex布局,设置下section的width为33%。2个改为50%
<style>
.answerBox>.section{display:flex;flex-wrap:wrap;justify-content:space-between}
.answerBox > .section>.section{width:33%}
.answerBox > .section > hr{width:100%}
</style>