Edit in JSFiddle


              
            
          
            
              
                
<div class="lightpink">
    <div class="lightgreen">
       <div class="lightyellow">
           <div class="lightblue">D BLOCK</div>
       </div>
    </div>
</div>
.lightpink{
    background-color:lightpink;
    border:1px solid red; 
    width:100px;    
}
.lightgreen{
    margin:50px 0; 
    background-color:lightgreen; 
    height:50px; 
    width:50px;
}
.lightyellow{
    background-color:lightyellow;
    margin:20px 0;
}
.lightblue{
    background-color:lightblue;
    margin:100px 0;    
}