Skip to content

Instantly share code, notes, and snippets.

@jhough10
Created January 15, 2014 06:48
Show Gist options
  • Save jhough10/8431918 to your computer and use it in GitHub Desktop.
Save jhough10/8431918 to your computer and use it in GitHub Desktop.
Centurion Grid Sample - 50% x 50% grid elements. Useful for creating a ping pong effect of image, text, text image.
<div class="grid-50">
<img src="http://placehold.it/450x300" class="responsive" alt="description of image" />
</div>
<div class="grid-50">
<h2>Subheading</h2>
<p>Description about the subheading with a link to the page</p>
</div>
<!-- clear the line -->
<div class="clear"></div>
<div class="grid-50 push-50">
<img src="http://placehold.it/450x300" class="responsive" alt="description of image" />
</div>
<div class="grid-50 pull-50">
<h2>Subheading</h2>
<p>Description about the subheading with a link to the page</p>
</div>
<!-- clear the line -->
<div class="clear"></div>
<div class="grid-50">
<img src="http://placehold.it/450x300" class="responsive" alt="description of image" />
</div>
<div class="grid-50">
<h2>Subheading</h2>
<p>Description about the subheading with a link to the page</p>
</div>
<!-- clear the line -->
<div class="clear"></div>
<div class="grid-50 push-50">
<img src="http://placehold.it/450x300" class="responsive" alt="description of image" />
</div>
<div class="grid-50 pull-50">
<h2>Subheading</h2>
<p>Description about the subheading with a link to the page</p>
</div>
<!-- clear the line -->
<div class="clear"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment