CodePen

HTML

            
              <div class="container">
  <div class="grid">
    <div class="col-1-2">
      <img src="http://placehold.it/400x400" />
      <h1>Lorem Ipsum</h1>
      <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 class="col-1-2">
      <img src="http://placehold.it/400x400" />
      <h1>Lorem Ipsum</h1>
      <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>
            
          
!

CSS

            
              @import "compass/css3";

*{
  @include box-sizing(border-box);
}

$pad: 24px;

.grid {
	  overflow: hidden;
	  margin-left: -$pad;
	}
	
	[class*='col-'] {
	  float: left;
	  padding-left: $pad;
	}
	
	.col-2-3 {
	  width: 66.66%;
	}
	
	.col-1-3 {
	  width: 33.33%;
	}
	
	.col-1-2 {
	  width: 50%;
	}
	
	.col-1-4 {
	  width: 25%;
	}
	
	.col-1-8 {
	  width: 12.5%;
	}
	
	.col-3-4{
		width: 75%;
	}
	
	/* Opt-in outside padding */
	.grid-pad {
	  padding: $pad 0 $pad $pad;
	  [class*='col-']:last-of-type {
	    padding-right: $pad;
	  }
	}

.container{
  width: 60%;
  margin: $pad auto;
  background: #DDDDDD;
  border-top: 5px solid #454545;
  border-bottom: 5px solid #454545;
}


.grid img{
  width: 100%;
  height: auto;
}
            
          
!

JS

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