summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/sec5/first-child-000-ref.html
blob: 6c65404bfcdf1eeae726e7f814f482053dfcce89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
    p {
        color: fuchsia;
    }
    div {
        color: orange;
    }
    h4 {
        color: blue;
    }
    .silver {
        color: silver;
    }
</style>
<body>
    <p><em>This text should be fuchsia.</em> <span class="silver">Filler text.</span></p>
    <div>This text should be orange.</div>
    <p class="silver">Filler text.</p>
    <h4>This text should be blue. <span class="silver">Filler text.</span></h4>
</body>