I'm creating a game and I'm starting with the UI, but I don't know how to build a panel with these assets inside HTML + CSS
I have the borders and the panel paper
I needed it to be this way and scalable according to the content and the size that is defined
so I tried with border-image:
.panel{
position: absolute;
border-image: url('../assets/border_left.png') 27 27 27 27 stretch stretch;
border-width: 30px;
border-style: solid;
top: 30px;
left: 30px;
width: 500px;
height: 500px;
}
<div className="panel" />
but it only appeared on the left side and I don’t know how to put the paper inside afterwards




