Skip to content

Instantly share code, notes, and snippets.

@DeanPoulin
DeanPoulin / h-description-list.html
Created January 11, 2014 08:47
Horizontal Description List
<dl class="dl-horizontal">
<dt>Description lists</dt>
<dd>A description list is perfect for defining terms.</dd>
<dt>Euismod</dt>
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
<dt>Malesuada porta</dt>
<dd>Etiam porta sem malesuada magna mollis euismod.</dd>
<dt>Felis euismod semper eget lacinia</dt>
<dd>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd>
@DeanPoulin
DeanPoulin / basic-table.html
Created January 11, 2014 08:53
Basic Table
<table class="table">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
@DeanPoulin
DeanPoulin / striped-rows.html
Created January 11, 2014 08:56
Table with Striped Rows
<table class="table table-striped">
...
</table>
@DeanPoulin
DeanPoulin / bordered-table.html
Created January 11, 2014 08:57
Bordered Table
<table class="table table-bordered">
...
</table>
@DeanPoulin
DeanPoulin / hover-effect.html
Created January 11, 2014 08:58
Table with Hover Effect on Rows
<table class="table table-hover">
...
</table>
@DeanPoulin
DeanPoulin / condensed-table.html
Created January 11, 2014 08:59
Condensed Table
<table class="table table-condensed">
...
</table>
@DeanPoulin
DeanPoulin / contextual-classes.html
Created January 11, 2014 09:01
Contextual Classes
<!-- On rows -->
<tr class="active">...</tr>
<tr class="success">...</tr>
<tr class="warning">...</tr>
<tr class="danger">...</tr>
<!-- On cells (`td` or `th`) -->
<tr>
<td class="active">...</td>
<td class="success">...</td>
@DeanPoulin
DeanPoulin / responsive-tables.html
Created January 11, 2014 09:03
Responsive Tables
<div class="table-responsive">
<table class="table">
...
</table>
</div>
@DeanPoulin
DeanPoulin / button-options.html
Created January 11, 2014 09:07
Button Options
<!-- Standard button -->
<button type="button" class="btn btn-default">Default</button>
<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-primary">Primary</button>
<!-- Indicates a successful or positive action -->
<button type="button" class="btn btn-success">Success</button>
<!-- Contextual button for informational alert messages -->
@DeanPoulin
DeanPoulin / button-sizes.html
Created January 11, 2014 09:10
Button Sizes
<p>
<button type="button" class="btn btn-primary btn-lg">Large button</button>
<button type="button" class="btn btn-default btn-lg">Large button</button>
</p>
<p>
<button type="button" class="btn btn-primary">Default button</button>
<button type="button" class="btn btn-default">Default button</button>
</p>
<p>
<button type="button" class="btn btn-primary btn-sm">Small button</button>