summaryrefslogtreecommitdiff
path: root/Base/res/html/misc/cascade-keywords.html
blob: e3b7a9589adae0e62ddf9c3169087c8dd4e348d7 (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
30
31
32
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"/>
    <title>Initial</title>
    <style>
        span {
            background: lime;
        }
        .initial {
            font-weight: initial;
        }
        .inherit {
            font-weight: inherit;
        }
        .unset {
            font-weight: unset;
        }
    </style>
</head>
<body>
<p>
    This is some text. <b>This text is bold, <span class="initial">but this is not, since it's set to initial,</span> and this is bold again.</b>
</p>
<p>
    This is some text. <b>This text is bold, <span class="inherit">and so is this, because it's set to inherit,</span> and this is bold again.</b>
</p>
<p>
    This is some text. <b>This text is bold, <span class="unset">and so is this, because it's set to unset and font-weight is inherited,</span> and this is bold again.</b>
</p>
</body>
</html>