Skip to content

Instantly share code, notes, and snippets.

@davidcpell
Created September 9, 2016 13:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidcpell/8d344ff18d5d188115c0ff9ba6ef7d14 to your computer and use it in GitHub Desktop.
Save davidcpell/8d344ff18d5d188115c0ff9ba6ef7d14 to your computer and use it in GitHub Desktop.
Pretty straight forward: One row with two columns. Each column has a h1 header, an image, and a div with a subtitle and unordered list. The two columns should have a thin space between them
<div class="row" id="x-based-row">
<div class="col-md-6">
<div class="col-md-12"> <!-- inner column with length 12 -->
<h1>Foo</h1>
<div class="center">
<%= image_tag('an_image.png') %>
</div>
<div class="info-box">
<p>
<strong>
Something strong!
</strong>
</p>
<ul>
<li>List 1</li>
<li>List 2</li>
<li>List 3</li>
<li>List 4</li>
<li>List 5</li>
</ul>
</div>
</div>
</div>
<div class="col-md-6">
<div class="col-md-12"> <!-- inner column with length 12 -->
<h1>Bar</h1>
<div class="center">
<%= image_tag('another_image.png') %>
</div>
<div class="info-box">
<p>
<strong>Something Strong</strong>
</p>
<ul>
<li>List 1</li>
<li>List 2</li>
<li>List 3</li>
<li>List 4</li>
<li>List 5</li>
</ul>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment