border-image-source 屬性設定邊框的圖片的路徑[none |
p { border: 20px solid #000; border-image-source: url(border.png); }
#border-image-slice 屬性圖片邊框向內偏移[
p { border: 20px solid #000; border-image-source: url(border.png); border-image-slice: 27,27,27,27; }
border-image-width 屬性設定圖片邊框的寬度[
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 屬性設定邊框映像區域超出邊框的量[
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 屬性設定映像邊框是否要平鋪(repeated)、鋪滿(rounded)或拉伸(stretched )(1,2)
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中文網!
#