p { border: 20px solid #000; border-image-source: url(border.png); }
p { border: 20px solid #000; border-image-source: url(border.png); border-image-slice: 27,27,27,27; }
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; }
以上是详解css样式之border-image属性的详细内容。更多信息请关注PHP中文网其他相关文章!