aboutsummaryrefslogtreecommitdiff
path: root/exampleData/ruleSets/color/testhtml/opacityTest1.html
blob: 51f3a0393c0da8bf63d635b2b9b07ad6e6a7b9d1 (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
<html>
<head>
<script src="jquery.js"></script>

<style>
body { background-color: #FFFF00 };
</style>

</head>
<body>
<div id="half-red" style="background-color: rgba(255,0,0,0.5)">
  red at half opacity.
    <span id="default-on-red">
      default background color
    </span>

    <span id="inherited-half-red" style="background-color: inherit">inherits red at half opacity</span>

    <span id="white" style="background-color: #FFFFFF">
      set to white, fully opaque.
    </span>
</div>
<p id="zap">background is yellow</p>
</body>
</html>