CSS border-image 속성은 일부 요소에 이미지 테두리를 추가하는 데 사용됩니다. 다음 코드를 실행하여 border-image 속성을 구현할 수 있습니다. -
예시
<html>
<head>
<style>
#borderimg1 {
border: 15px solid transparent;
padding: 15px;
border-image: url(https://tutorialspoint.com/css/images/border.png) 50 round;
}
</style>
</head>
<body>
<p id = "borderimg1">This is image border example.</p>
</body>
</html>