summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/align-items-009.html
blob: dc89b0aa9effafd3d8ae6e0dab4848499f260bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1100203">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
#target {
  font: 100px/1 'Ahem';
  color: green;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;

  position: relative;
  left: -50px;
}
</style>
<p>Test passes if there is a filled green square.</p>
<div id="target">X</div>