diff options
Diffstat (limited to 'exampleData/ruleSets/color/testhtml/opacityTest1.html')
-rw-r--r-- | exampleData/ruleSets/color/testhtml/opacityTest1.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/exampleData/ruleSets/color/testhtml/opacityTest1.html b/exampleData/ruleSets/color/testhtml/opacityTest1.html new file mode 100644 index 0000000..51f3a03 --- /dev/null +++ b/exampleData/ruleSets/color/testhtml/opacityTest1.html @@ -0,0 +1,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> |