Disclaimer: This article is a blogger original article, shall not be reproduced without the consent of bloggers. https://blog.csdn.net/linlin2294592017/article/details/30468975
Achieve results:
With the option increases the size of the box, will add height. Top overall large frame height added. Simple style code such as the following
Code:
<div style = "height: Auto; overflow: hidden;"> // as the total large box frame
<div style = "a float: right; height: Auto;"> // block size of the box
</div>
<div style = "a float: right; height: Auto;"> // color box this box
</div>
</div>