summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/flex-item-vertical-align-ref.html
blob: 82d7a6ea317dc33c00c5e36f0276496f3fcb0710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<link href="../support/flexbox.css" rel="stylesheet">

<style>
.flexbox {
  background-color: lightgrey;
}
</style>

<div class='flexbox'>
  <!-- flex item: block child -->
  <div>block</div>
  <!-- flex item: anonymous block box around inline content -->
  anonymous item 2
  <!-- flex item: inline child -->
  <span>item 3</span>
</div>