summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-animations/inheritance-pseudo-element-ref.html
blob: a25f465fdf9c10d3d51e7576eb475d025516b2ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!doctype html>
<title>CSS Test Reference</title>
<style>
body {
  font-size: 30px;
}

.container {
  font-size: 5px;
  height: 40px;
}

.container::after {
  content: "";
  display: block;
  border: 2px solid blue;
  width: 1em;
  height: 1em;
  font-size: 1em;
}
</style>
<div class="container"></div>
<div class="container"></div>
<div class="container"></div>
<div class="container"></div>
<div class="container"></div>