INQUIRY: I am looking for a way to maintain a consistent border image size when resizing a div. I have considered using pseudo elements, but I'm wondering if there is a simpler solution?
HTML:
<div id="resizable" class="ui-widget-content">
<h3>Resizable</h3>
</div>
CSS:
body {
background: white;
}
#resizable {
border: 25px solid !important;
border-image: url(https://svgur.com/i/9c2.svg) 15 round !important;
background: white
}
VISUAL:
https://i.sstatic.net/L365l.gif
JSFIDDLE: https://jsfiddle.net/3twuq14z/