边框
边框线厚度 border-width
边框线颜色 border-color
边框线样式为虚线 border-style:dashed;
边框圆角 border-radius
总写 : box-shadow: 10px 10px 10px 30px pink inset;
解 释 水平位置 垂直位置 模糊度 阴影尺寸 阴影颜色 阴影位置
边框上下左右
边框线的粗细 border-top-width:20px;
border-right-width:20px;
border-bottom-width:20px;
border-left-width:20px;
多层背景
background: url(./1.gif) no-repeat 150px 150px;
background: url(./1.gif) repeat 0px 0px;
内补白与外补白
margin 外边距
一个参数 : margin:10px;
二个参数 : margin:10px 20px;
三个参数 : margin:10px 20px 30px;
四个参数 : margin:10px 20px 30px 40px;
margin: 0 auto; 自动居中