Css-tricks Header

Recreated a cool effect

by Joshua Powell

HTML

<header>
    <div class="mainTop">
    </div>
    <div class="btm1">
    </div>
    <div class="btm2">
    </div>
</header>

CSS

header {
    width: 100%;
    overflow: hidden;
}

.mainTop {
    height: 90px;
    width: 100%;
    background: #ff7200;
    clear: both;
    box-shadow: 0 1px 2px #3b3b3b;
    z-index: 15;
    position: relative;
}

.btm1 {
    margin-left: 5px;
    height: 10px;
    width: 100%;
    background: #bd5400;
    box-shadow: 0 1px 2px #3b3b3b;
    z-index: 10;
    position: relative;
}

.btm2 {
    margin-left: 10px;
    height: 10px;
    width: 100%;
    background: #7a3700;
    box-shadow: 0 1px 2px #3b3b3b;
    z-index: 5;
    position: relative;
}