CodePen

HTML

            
              

<div class="page-wrap">
  <header>
  I'm a Header
  </header>
<div class="sidebar">
  I'm a Sidebar
  
  </div>

<div class="container">

  
  <div class="content">
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>  
  </div>
</div>
<div class="sidebar">
  
    I'm a Sidebar</div>
  </div>
            
          
!

CSS

            
              * {
  box-sizing:border-box;
}
    

.page-wrap {
  width:90%;
  margin:10px auto;
  overflow:hidden; /* quick clearfix */
  color:red;
}

.sidebar, .container {
  float:left;
  text-align:center;
  padding:10px;  
}

.sidebar {
  width:20%;
  background:lightgrey;
  height:500px;
}

.container {
  width:60%;
  height:500px;
  background:#bada55;
}

header {
  height:100px;
  background:green;
  text-align:center;
  padding:10px;
  color:white;
}
            
          
!

JavaScript

            
              
            
          
!
999px
Loading ..................