样式

5)边界边框

margin:0px;                                            //外边距为0

  margin:10px 0px 0px 10px;                     //外边距,距离上边、右边、下边、左边的距离,这是固定顺序

padding:0px;                                           //内边距为0

  padding:10px 0px 0px 10px;                     //内边距,内部距离上边、右边、下边、左边的距离,这是固定顺序

float:left;                                                  //流向向左

border:1px solid black;                            //边框为1像素的黑色实线。dashed为虚线

border-radius:50%;                               //变为圆角矩形,圆角半径50%

  border-radius:2px;                         //变为圆角矩形,圆角半径2px

border-top-right-radius:10px;                //右上角变为圆角

overflow:hidden;                                   //超出部分隐藏

  overflow:scroll;                                      //超出时出现滚动条

6)其他

transform:rotate(45deg);                             //顺时针旋转45度

transform:translateX(45px);                         //右移45px

transform:skewX(45deg);                           //在X轴上倾斜45度

boxshadow:1px 1px 1px black;                   //黑色盒子阴影,前两个值为负数时阴影在左侧、上方

    右侧 下方 虚化 黑色

textshadow:1px 1px 1px black;                  //黑色文字阴影