CSS border-image-repeat 屬性用于將邊框圖像設置為圓角、重復和拉伸。
示例
您可以嘗試運行以下代碼實現 border-image-repeat 屬性 –
現場演示
<html> <head> <style> #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; border-image-width: 10px; } </style> </head> <body> <p id = "borderimg1">This is image border example.</p> </body> </html>
登錄后復制
以上就是CSS 邊框圖像重復的詳細內容,更多請關注www.92cms.cn其它相關文章!