คุณสมบัติ 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>