1、盒子模型立体图,从第一层到第五层依次为:border、content+padding、background-image、background-color、margin。
2、清除浮动的常用方法。
clear属性——常用clear:both; clear:left;或者 clear:right;
或者设置width:100%(或者固定宽度)+overflow:hidden;
3、将段落的第一行缩进 50 像素:text-indent:50px;
1、盒子模型立体图,从第一层到第五层依次为:border、content+padding、background-image、background-color、margin。
2、清除浮动的常用方法。
clear属性——常用clear:both; clear:left;或者 clear:right;
或者设置width:100%(或者固定宽度)+overflow:hidden;
3、将段落的第一行缩进 50 像素:text-indent:50px;