summaryrefslogtreecommitdiffstats
path: root/dom/plugins/test/reftest/div-alpha-zindex.html
blob: e4672b913bb396593a2fa01371b60a213de706e9 (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
<!doctype html>
<html>
<head>
<style type="text/css">
#one {
  position:absolute;
  left:0px; top:0px;
  width:400px; height:400px;
  background-color: rgb(0,255,0);
  opacity:0.6;
  z-index:1;
}
#two {
  position:absolute;
  top:100px; left:100px;
  width:200px; height:200px;
  z-index:0;
  background-color: rgb(255,0,0);
}
</style>
</head>
<body>
<div id="two"></div>
<div id="one"></div>
</body>
</html>