JSFiddle - React, Tailwind, and code Playground

HTML

<div class="background">
<div class="wrap">
  <div class="inner">
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Delectus ducimus nostrum labore odio porro hic ullam! Nemo unde voluptatum laborum beatae iusto, fugit optio placeat, quidem sunt! Error, a reiciendis.</p>
  </div>
</div>
</div>

SCSS

.background{
  text-align: center;
  padding: 60px;
  background-color: #2685C7;
}
.wrap{
  display: inline-block;
  vertical-align: middle;
  width: 500px;
  padding: 5px;
  background-color: #fff;
  position: relative;
  &:after,
  &:before{
    content: "";
    position: absolute;
    background-color: #2685C7;
  }
  &:after{
    top: 50px;
    bottom: 50px;
    left: 0;
    right: 0;
  }
  &:before{
    top: 0;
    bottom: 0;
    left: 50px;
    right: 50px;
  }
}
.inner{
  height: 200px;
  background-color: #2685C7;
  position: relative;
  z-index: 2;
  padding: 20px;
}
p{
  padding: 0;
  margin: 0;
}