摘要:
1. clear属性 clear: both; 2. 同时设置width: 100%(或固定宽度) + overflow: hidden; 阅读全文
摘要:
盒子模型三维图片 可以看到从上到下分别是盒子模型的border,content+padding,background image,background color,margin。 下面我们通过实例看一下各属性的覆盖情况。 这个例子中,设置了20px的margin和padding,10px的borde 阅读全文