JSFiddle - React, Tailwind, and code Playground

HTML

<div class="box">

  <div class="square">
    <div class="inner"></div>
  </div>
  
  <h3>Lorem ipsum dolor sit amet, consectetur adipisicing  elit. Suscipit</h3>
  <button>Btn 1</button><button>Btn 2</button>
</div>

CSS

.square {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 40%;
  height: 80%;
  z-index: 1;
}

.inner {
  width: 100%;
  height: 100%;
  border-left: 1px solid gray;
  border-bottom: 1px solid gray;
  border-top: 1px solid gray;
  position: relative;
}

.inner:before, .inner:after {
  content: "";
  height: 20%;
  position: absolute;
  right: 0;
  border-right: 1px solid gray;
}

.inner:before {
  bottom: 0;
}

.box {
  background: url('http://placehold.it/600x400');
  width: 40%;
  padding: 120px 50px 120px 70px;
  background-size: cover;
  background-position: center;
  position: relative;
}

button {
  padding: 10px 50px;
  z-index: 2;
  position: relative;
}