Skip to content

Instantly share code, notes, and snippets.

@mlivingston40
Last active November 21, 2017 22:02
Show Gist options
  • Save mlivingston40/c2deef19a524ca95325fe1aad50d528b to your computer and use it in GitHub Desktop.
Save mlivingston40/c2deef19a524ca95325fe1aad50d528b to your computer and use it in GitHub Desktop.
Bootstrap columns example
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-6">
<div class="panel panel-primary">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-institution fa-4x"></i>
</div>
<div class="col-xs-9 text-right">
<div>
<h3>{{ security1 | safe }} <small style="color:white">&</small> {{ security2 | safe }}</h3></div>
</div>
</div>
</div>
<div class="panel-footer">
<div class="text-left">
<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="The stocks you entered: {{ security1 | safe }} and {{ security2 | safe }}"><strong>Stocks</strong>
</button>
</div>
</div>
</div>
</div>
</div> <!-- Closes the row, add more '<div class = "col">' to keep in same row across -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment