<div class="container">
  Middle:
  <div class="element"></div>
</div>
.container {
  padding: 30px 10px;
  border: 1px solid;
}

.element {
  vertical-align: middle;
  display: inline-block;
  background: tomato;
  width: 150px;
  height: 150px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.