div.container
{
width:30em;
border:1em solid;
}
div.box
{
box-sizing:border-box;
-moz-box-sizing:border-box; /* Firefox */
width:30%;
border:1em solid red;
float:left;
}
box-sizing
最新推荐文章于 2022-02-19 21:49:19 发布