<div class="parent">
  <div class="child">01</div>
  <p class="p01">サンプル</p>
  <p class="p02">サンプル</p>
  <p class="p03">サンプル</p>
</div><!-- /.parent -->
.child {
  display: inline-block;
}

p {
  display: inline-block;
}

.p01 {
  vertical-align: top;
}

.p02 {
  vertical-align: middle;
}

.p03 {
  vertical-align: bottom;
}

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

p {
  line-height: 1;
  margin: 0;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.