<div class="parent">
  <div class="child v-top">01</div>
  <div class="child v-middle">02</div>
  <div class="child v-bottom">03</div>
  <div class="child v-top">04</div>
  <div class="child v-middle">05</div>
  <div class="child v-bottom">06</div>
  <div class="child v-top">07</div>
  <div class="child v-middle">08</div>
  <div class="child v-bottom">09</div>
  <div class="child v-top">10</div>
</div><!-- /.parent -->
.parent {
  display: table;
}

.child {
  display: table-cell;
}

/* 共通設定 */
.child {
  color: #fff;
  text-align: center;
  line-height: 1;
  width: 100px;
  height: 100px;
  background-color: #777;
}

.v-top {
  vertical-align: top;
}

.v-middle {
  vertical-align: middle;
}

.v-bottom {
  vertical-align: bottom;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.