<div class="outer">
<div class="first">
</div>
<div class="second">
</div>
</div>
.outer {
height: 100px;
font-size: 0;
text-align: center;
border: 1px dashed black;
}
.outer:before {
content: '.';
display: inline-block;
height: 100%;
vertical-align: middle;
}
.first, .second {
display: inline-block;
vertical-align: middle;
background-color: black;
}
.first {
width: 50px;
height: 50px;
margin-right: 20px;
}
.second {
width: 100px;
height: 70px;
}