JSFiddle - React, Tailwind, and code Playground

HTML

<div class="wrapper">
    <div class="container">
        <div class="left">
           Left content
        </div><div class="right">
            right content
        </div>
    </div>
</div>

CSS

.wrapper{
    margin: 0 auto 0 auto;
    max-width: 100%;
    text-align: left;
    background: url(https://s-media-cache-ak0.pinimg.com/736x/07/c3/45/07c345d0eca11d0bc97c894751ba1b46.jpg);
    height: 500px;
    align-items: center;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
}

.container{
    position: relative;
    width: 100%;
    height: 260px;
    background: #ffffff;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.left{
    position: relative;
    display: inline-block;
    width: 50%;
    border: 1px solid #000;
    height: 50%;
  }
  
.right{
    position: relative;
    display: inline-block;
    width: 50%;
    border: 1px solid #000;
    height: 50%;
  }