summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-shadow/boxshadow-basic-ref.html
blob: 0a4639491bfceda3976656e3c0be309586870322 (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
<!DOCTYPE HTML>
<style>
body {
  background-color: green;
}

#thediv {
  background-color: green;
  width: 300px;
  height: 100px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

#theshadow {
  background-color: black;
  width: 300px;
  height: 100px;
  position: absolute;
  top: 23px;
  left: 23px;
  z-index: 1;
}
</style>

<div id="theshadow">&nbsp;</div><div id="thediv">Foo</div>