【发布时间】:2015-03-01 01:53:04
【问题描述】:
我在处理 CSS 中的一些浮动框时遇到了问题。
<div class="container">
<div class="one">One</div>
<div class="two">Two</div>
<div class="tre">Three - The HTML structure should stay like this, but this box should be starting to the left of the red box.</div>
</div>
这是笔:
http://codepen.io/anon/pen/myKzMd
我希望左边的绿色盒子与红色盒子的高度相同。 HTML 结构应保持原样。 谢谢, 萨沙
【问题讨论】:
-
不要浮动第三个/绿色框……