JSFiddle - React, Tailwind, and code Playground
by Sergey Goryachev
HTML
<div class="block">
<div class="wrapper">
<div class="content">
content
</div>
<div class="form">
<form action="">
<input type="text">
<input type="text">
<input type="text">
</form>
</div>
</div>
</div>
CSS
* { margin: 0; padding: 0; }
.block {
background: url('http://uploads.webflow.com/580bda8bd2d6f3fd5766fe07/580bdabb018832030bfb7d5e_screen5-left-bg.png') 0 0 no-repeat;
overflow-x: hidden;
}
.wrapper {
width: 100%;
max-width: 800px;
margin: auto;
display: flex;
position: relative;
z-index: 10;
color: #fff;
font-size: 50px;
}
.content {
width: 50%;
text-align: center;
display: flex;
align-items: center;
align-content: center;
justify-content: center;
}
.form {
height: 360px;
width: 50%;
position: relative;
display: flex;
align-items: center;
}
.form:after {
content: '';
position: absolute;
background: url('http://uploads.webflow.com/580bda8bd2d6f3fd5766fe07/580bdad5a6f74f8a0e208a0b_screen5-right-bg.jpg') 0 0 no-repeat;
z-index: 5;
width: 2000px;
heigth: 100%;
left: 0;
top: 0;
bottom: 0;
}
form {
position: relative;
z-index: 15;
padding: 30px;
background: rgba(0,0,0,.5);
}
input {
width: 100%;
}