mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
29 lines
405 B
HTML
29 lines
405 B
HTML
<!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"> </div><div id="thediv">Foo</div>
|