边框:

  border-color<颜色>

  border-width<粗细>

    thin    细

    medium  中

    thick    粗

    像素值

  border-style<样式>

    none    无

    hidden  

    dotted   点线

    solid    实线

    double   双线

    dashed    虚线



border简写:
  同时设置边框的颜色,粗细和样式

  如:border-bottom:90px  #F00  dashed;

      border: 90px  #F00  dashed;



内边框:

  padding-left

  padding-right

  padding-top

  padding-bottom



外边框:
  margin

  margin-top

  margin-right

  margin-bottom

  margin-left

posted on 2017-05-31 15:00  逸果  阅读(293)  评论(0编辑  收藏  举报