border 边框(复合样式,集合样式)
border-top
border-right
border-bottom
border-left
border-top-width 上
border-right-width 右
border-bottom-width 下
border-left-width 左
border-style 边框样式
solid 实线
dashed 虚线
dotted 点线
border-top-style
border-right-style
border-bottom-style
bordder-left-style
border-color 边框颜色
rgb(0-255,0-255,0-255);
border-top-color
border-right-color
border-bottom-color
border-left-color
border-radius 圆角半径
列:border-radius:10px 20px 30px 40px
border-width 边框宽度
border-image 语法( 仅限谷歌 要加如前缀 -webkit-):
border-image-source | 用在边框的图片的路径。 | |
border-image-slice | 图片边框向内偏移。切割图片 两个值(上下或左右)不用加px | |
border-image-width | 图片边框的宽度。 | |
border-image-outset | 边框图像区域超出边框的量。 | |
border-image-repeat | 图像边框是否应平铺(repeated)、铺满(rounded)或拉伸(stretched)。 |