Cascading Gradient Boxes

by alinktothepast

HTML

<div class="box1">
</div>
<div class="box2">
</div>
<div class="box3">
</div>
<div class="box4">
</div>
<div class="box5">
</div>
<div class="box6">
</div>
<div class="box7">
</div>
<div class="box8">
</div>
<div class="box9">
</div>

CSS

<style type="text/css">
body
{
    background-color:white;
}
.box1, .box2, .box3, .box4, .box5, .box6, .box7, .box8, .box9
{
        box-shadow: 7px 8px 70px;
}
.box1
{
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: #000;
    width: 200px;
    height: 200px;
    border: none;
    opacity:0.1;
    filter:alpha(opacity=10);
}
.box2
{
    position: absolute;
    left: 25px;
    top: 25px;
    background-color: #000;
    width: 200px;
    height: 200px;
    border: none;
    opacity:0.2;
    filter:alpha(opacity=20);
}
.box3
{
    position: absolute;
    left: 50px;
    top: 50px;
    background-color: #000;
    width: 200px;
    height: 200px;
    border: none;
    opacity:0.3;
    filter:alpha(opacity=30);
}
.box4
{
    position: absolute;
    left: 75px;
    top: 75px;
    background-color: #000;
    width: 200px;
    height: 200px;
    border: none;
    opacity:0.4;
    filter:alpha(opacity=40);
}
.box5
{
    position: absolute;
    left: 100px;
    top: 100px;
    background-color: #000;
    width: 200px;
    height: 200px;
    border: none;
    opacity:0.5;
    filter:alpha(opacity=50);
}
.box6
{
    position: absolute;
    left: 125px;
    top: 75px;
    background-color: #000;
    width: 200px;
    height: 200px;
    border: none;
    opacity:0.4;
    filter:alpha(opacity=40);
}
.box7
{
    position: absolute;
    left: 150px;
    top: 50px;
    background-color: #000;
    width: 200px;
    height: 200px;
    border: none;
    opacity:0.3;
    filter:alpha(opacity=30);
}
.box8
{
    position: absolute;
    left: 175px;
    top: 25px;
    background-color: #000;
    width: 200px;
    height: 200px;
    border: none;
    opacity:0.2;
    filter:alpha(opacity=20);
}
.box9
{
    position: absolute;
    left: 200px;
    top: 0px;
    background-color: #000;
    width: 200px;
    height: 200px;
    border: none;
    opacity:0.1;
    filter:alpha(opacity=10);
}
</style>