Thuộc tính CSS border-mage-source được sử dụng để thiết lập đường dẫn hình ảnh. Bạn có thể thử chạy mã sau để triển khai border-image-source tài sản:
Ví dụ
<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>