Border-image:none|image-url|number|percentage|stretch,repeat,round
Parameters:
None: Default, no background picture
URL: Address, can be absolute, can also be relative
Number: The border size of the cut background picture can have a total of 1-4 values, top, right, bottom, left
Percentage: function with number, only it is used as a percentage, numbers is numeric (do not write units, units are px)
Stretch: Stretching
Round: Tiling
Repeat: repeating border background
1, the border background is cut, in four corner of the place does not move, tiling, stretching, repeat only for four sides, not including four corners.
"Original Border Background"
. border-img{ width:200px; border:20px solid; -webkit-border-image:url ("Picture/12.png") stretch; Border-image:url ("Picture/12.png") stretch;
<div class= "Border-img" >border-img</div>
CSS3 's Border-image