首页 > 代码库 > CSS之边框

CSS之边框

border:边框(写法:厚度 样式 颜色)

border-width:边框厚度

border-style:边框样式(

    none:无轮廓

    dashed:虚线轮廓

    solid:实线轮廓

    double:双线轮廓

    groove:3D凹槽轮廓

    ridge:3D凸槽轮廓

    inset:3D凹边轮廓

    outset:3D凸边轮廓

  )

border-color:边框颜色

border-top:上边框(用法同border)

border-top-width:上边框厚度(用法同border-width)

border-top-style:上边框样式(用法同border-style)

border-top-color:上边框颜色(用法同border-color)

border-right:右边框(用法同border)

border-right-width:右边框厚度(用法同border-width)

border-right-style:右边框样式(用法同border-style)

border-right-color:右边框颜色(用法同border-color)

border-bottom:下边框(用法同border)

border-bottom-width:下边框厚度(用法同border-width)

border-bottom-style:下边框样式(用法同border-style)

border-bottom-color:下边框颜色(用法同border-color)

border-left:左边框(用法同border)

border-left-width:左边框厚度(用法同border-width)

border-left-style:左边框样式(用法同border-style)

border-left-color:左边框颜色(用法同border-color)

 

CSS之边框