Photo stack effect

stacking divs

by Joshua Powell

HTML

<header>
    <div class="mainTop">
        <span class="photoText"> Welcome!</span>
        <span class="black"></span>
    </div>
    <div class="btm1">
    </div>
    <div class="btm2">
    </div>
</header>

CSS

header {
    width: 100%;
}

.mainTop {
    border-radius: 4px 4px 0 0;
    padding: 15px;
    height: 260px;
    width: 260px;
    background: #ff7200;
    clear: both;
    box-shadow: 0 1px 2px #3b3b3b;
    z-index: 15;
    position: relative;
}

.photoText {
    display: block;
    height: 200px;
    width: 260px;
    background: #fff;
    color: #2b2b2b;
    text-align: center;
    line-height: 200px;
}

.black {
    height: 60px;
    width: 260px;
    background: #2b2b2b;
    display: block;
}

.btm1 {
    border-radius: 4px 4px 0 0;
    margin-left: 5px;
    height: 290px;
    width: 295px;
    background: #bd5400;
    margin-top: -280px;
    box-shadow: 0 1px 2px #3b3b3b;
    z-index: 10;
    position: relative;
}

.btm2 {
    border-radius: 4px 4px 0 0;
    margin-left: 10px;
    height: 290px;
    width: 300px;
    background: #7a3700;
    margin-top: -280px;
    box-shadow: 0 1px 2px #3b3b3b;
    z-index: 5;
    position: relative;
}