summaryrefslogtreecommitdiff
path: root/Base/res/html/misc/opacity.html
blob: 4dfa51770cff840abffd4804251b269249552dca (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<html>
    <head>
        <style>
            .op-100 {
            background: green;
            opacity: 1.0;
            }
            .op-70 {
            background: green;
            opacity: 70%;
            }
            .op-50 {
            background: green;
            opacity: 0.5;
            }
            .op-30 {
            background: green;
            opacity: 30%;
            }
            .op-0 {
            background: green;
            opacity: 0;
            }
            .red {
            background: red;
            }
        </style>
    </head>
    <body>
        <div class=op-100>
            100% opacity
        </div>
        <div class=op-70>
            70% opacity
        </div>
        <div class=op-50>
            50% opacity
        </div>
        <div class=op-30>
            30% opacity
        </div>
        <div class=op-0>
            0% opacity
        </div>
        <div class="red">
            Blending with other colors
            <div class=op-100>
                100% opacity
            </div>
            <div class=op-70>
                70% opacity
            </div>
            <div class=op-50>
                50% opacity
            </div>
            <div class=op-30>
                30% opacity
            </div>
            <div class=op-0>
                0% opacity
            </div>
        </div>
        <div class=op-70>
            70% opacity
            <div class=op-50>
                50% opacity inside 70% opacity
            </div>
        </div>
    </body>
</html>