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中文網其他相關文章!