border-image-source property sets the path of the border image [none |
##
p { border: 20px solid #000; border-image-source: url(border.png); }
border-image-slice attribute image border offset inward [
p { border: 20px solid #000; border-image-source: url(border.png); border-image-slice: 27,27,27,27; }
border-image-width property sets the width of the image border [
p { border: 20px solid #000; border-image-source: url(border.png); border-image-slice: 27,27,27,27; border-image-width: 27px 1 10% 27px; }
p { border: 20px solid #000; border-image-source: url(border.png); border-image-slice: 27,27,27,27; border-image-width: 27px 1 10% 27px; border-image-outset: 27px 27px 27px 27px; }
p { border: 20px solid #000; border-image-source: url(border.png); border-image-slice: 27,27,27,27; border-image-width: 27px 1 10% 27px; border-image-outset: 27px 27px 27px 27px; border-image-repeat: rounded; border-image: url(border.png) 27 rounded; }
For more articles related to border-image in css style, please pay attention to the PHP Chinese website!