คุณสมบัติ CSS border-mage-source ใช้สำหรับกำหนดเส้นทางของภาพ คุณสามารถลองเรียกใช้โค้ดต่อไปนี้เพื่อใช้งาน border-image-source คุณสมบัติ:
ตัวอย่าง
<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;
}
</style>
</head>
<body>
<p id = "borderimg1">This is image border example.</p>
</body>
</html>