CSS3——border-image

border-image:

就是可以给border(边框)加上背景颜色可以渐变色,也可以加上图片

border-imamge-source:

需要加上slice,slice具体看下面解释

border-image-slice:

(截取)

slice可以添加4个值,代表4条分割线

这些用的比较少

border-image-width:100px;

border-width:1px;

border-image-outset: 100px;

border-image-repeat:round stretch;

stretch round repeat space

相关文章