.mybox {
width:250px;
height:180px;
padding:20px;
background:
linear-gradient(0deg,rgb(237, 28, 36),rgb(237, 28, 36)),
linear-gradient(0deg,rgb(237, 28, 36),rgb(237, 28, 36)),
linear-gradient(0deg,rgb(237, 28, 36),rgb(237, 28, 36)),
linear-gradient(0deg,rgb(237, 28, 36),rgb(237, 28, 36)),
linear-gradient(0deg, rgb(0, 162, 232), rgb(0, 162, 232)),
linear-gradient(-45deg, rgb(255, 174, 201) 20%, rgb(0, 162, 232) 20%, rgb(0, 162, 232) 80%, rgb(255, 174, 201) 80%) ;
background-clip: border-box, border-box,border-box, border-box, content-box,border-box;
background-repeat:no-repeat;
background-size: 3px 40px, 80px 3px, 3px 40px, 80px 3px,auto auto,auto auto;
background-position: 22px 160px, 22px 200px , 260px 15px , 180px 15px ,center, center;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:3rem;
box-shadow: 20px 20px 10px purple
}
<div class="mybox"> My Box</div>