我们选择让两个容器分别向左右浮动。
浮动属性指定了某个框应该向左侧还是向右侧浮动。
The float property specifies whether a box should float to the left or to the right.
最佳水平限制:浮动框必须被置于此包含块内向左尽量远的地方。
Optimum horizontal constraint. A left float box must be put as far to the left as possible within its containing block.
应用推荐