border-image-source 屬性設置邊框的圖片的路徑[none | <image>] border-image-slice 屬性圖片邊框向內偏移[ <number> | <percentage> ](1,4) ?fill border-image-width 屬性設置圖片邊框的寬度[ < ...
border-image-source 屬性設置邊框的圖片的路徑[none | <image>]
div { border: 20px solid #000; border-image-source: url(border.png); }
border-image-slice 屬性圖片邊框向內偏移[ <number> | <percentage> ](1,4) ?fill
div { border: 20px solid #000; border-image-source: url(border.png); border-image-slice: 27,27,27,27; }
border-image-width 屬性設置圖片邊框的寬度[ <length>|<number> |<percentage> | auto](1,4)
div { 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 屬性設置邊框圖像區域超出邊框的量[ <length>|<number> ](1,4)
div { 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)
div { 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; }