body {
    background-color: white;
}

 #L1 {
    position: absolute;
    background-color:yellow ;
    z-index: 0;
    top: 40px;
    left: 20px;
    height: 150px;
    width: 150px;
 }

 #L2 {
    position: absolute;
    background-color:blue ;
    z-index: -2;
    top: 5px;
    left: 10px;
    height: 150px;
    width: 150px;
 }

 #L3 {
    position: absolute;
    background-color: green;
    z-index: -1;
    top: 25px;
    left: 25px;
    height: 150px;
    width: 150px;
 }
 