CSS border-image-slice 屬性用於切片邊框影像。 範例 您可以嘗試執行以下程式碼來實作邊框 - image-slice 屬性 - 現場示範 #borderimg1 { border: 15px solid transparent; padding: 15px; border-image-source: url(https://tutorialspoint.com/css/images/border.png); border-image-repeat: round; border-image-slice: 50; } This is image border example. 登入後複製