border-image-width 속성은 CSS로 테두리 이미지 너비를 설정하는 데 사용됩니다.
예시
다음 코드를 실행하여 border-image-width 속성을 구현할 수 있습니다. -
<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: 40;
border-image-width: 20px;
}
</style>
</head>
<body>
<p id = "borderimg1">This is image border example.</p>
</body>
</html>