I want to get the red box to middle of the strip and need to be only 10 em wide. Left and Right contents should be as the image attached. That mean left contain should be align to left and right side content to right align.
My HTML:
<div class="row">
<div class="meta-left">
<p>Left Contents with align left...</p>
</div>
<div class="logo-bg-top"></div>
<div class="meta-right">
<p>Right Contents with align right...</p>
</div>
</div>
This is how I tried in CSS:
.row {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
.row .logo-bg-top {
flex: 0 0 9em;
background: red;
}
Can anybody guide me to fix this issue?