JSFiddle - React, Tailwind, and code Playground
HTML
<div class="dtborder ">This text appears inside a double bracket bordered div where you can control the gap between border lines.</div>
CSS
.dtborder {
position:relative;
border:5px solid red;
height:500px;
width:500px;
background: #f8f8f8;
padding:30px;
}
.dtborder:before {
content:"";
position: absolute;
top:5px;
bottom:5px;
left:5px;
right:5px;
border:5px solid blue;
}
.dtborder:after {
content:"";
position: absolute;
top:15px;
bottom:15px;
left:15px;
right:15px;
border:5px solid green;
}