JSFiddle - React, Tailwind, and code Playground
HTML
<div class="main-block">
<div class="main">
</div>
<div class="left-block">
<h2>Account login</h2>
</div>
<div class="right-block">
</div>
</div>
CSS
body {
font-family:Arial,Tahoma;
background:#1E3B43;
margin:50px;
}
*{
margin:0;
padding:0;
}
a {
text-decoration:none;
}
.main-block {
width:500px;
height:300px;
border-radius:10px;
overflow:hidden;
position:relative;
}
.main {
width:500px;
height:300px;
border-radius:10px;
overflow:hidden;
background:url(http://s7.uploads.ru/FeinG.png) no-repeat 50% 3%;
position:absolute;
}
.left-block,.right-block {
background:url(http://s7.uploads.ru/WTxLy.png) repeat-x;
background-size: 1px 300px;
}
.left-block {
width:345px;
height:300px;
float:left;
border-right:1px solid #3C909D;
box-sizing: border-box;
background-position:0px 0px;
}
.right-block {
float:right;
width:155px;
height:300px;
border-left:1px solid #586E72;
box-sizing: border-box;
background-position:1px 0px;
}