实现效果:
随着尺码框选项变多,高度也就添加。上边整体的大框高度也添加。简单的样式代码例如以下
代码:
<div style=“height: auto; overflow: hidden;”> ? ?//此框为总的大框
<div style=" float :right; height :auto;"> ? ??//此框为 尺码框
</div>
<div style=" float :right ; height :auto;"> ??//此框为颜色框
</div>
</div>
原文:https://www.cnblogs.com/mqxnongmin/p/10962686.html