summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/printing/pseudo-animations-print.html
blob: 40585ba2c489459d77c6ddb080ca6bbe36ebb7ea (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
27
28
29
<!DOCTYPE HTML>
<html>
<link rel="help" href="https://drafts.csswg.org/css-animations/">
<link rel="match" href="pseudo-animations-print-ref.html">
<title>Static CSS animation</title>
<style>

@keyframes a {
  from, to { color: blue }
}

p {
  color: olive;
  animation: a 1s infinite;
}
p::after {
    color: purple;
    content: "(::after)";
    animation: a 1s infinite;
}

p::before {
    color: yellow;
    content: "(::before)";
    animation: a 1s infinite;
}

</style>
<p>blue with animation support; olive without</p>