I'm new to HTML and CSS, my task is to set an already prepared image as border.
What I'm doing wrong?
div {
width: 240px;
height: 510px;
background-color: lightblue;
border-image: url(https://i.ibb.co/TqBJP5d/border-1.png) stretch;
}
<div>
123
</div>
you need a width value before the strech property