Element Guide (bootstrap sample)

Components

Alerts

Preview
Code
<div class="alert alert-success" role="alert"><strong>Well done!</strong> You successfully read this important alert message.</div>
<div class="alert alert-info" role="alert"><strong>Heads up!</strong> This alert needs your attention, but it's not super important.</div>
<div class="alert alert-warning" role="alert"><strong>Warning!</strong> Better check yourself, you're not looking too good.</div>
<div class="alert alert-danger" role="alert"><strong>Oh snap!</strong> Change a few things up and try submitting again.</div>

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

Badges

Preview

Example heading New

Example heading New

Example heading New

Example heading New

Example heading New
Example heading New
Code
<h1>Example heading <span class="badge badge-default">New</span></h1>
<h2>Example heading <span class="badge badge-default">New</span></h2>
<h3>Example heading <span class="badge badge-default">New</span></h3>
<h4>Example heading <span class="badge badge-default">New</span></h4>
<h5>Example heading <span class="badge badge-default">New</span></h5>
<h6>Example heading <span class="badge badge-default">New</span></h6>

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

Utilities

Sizing

Preview
Width 25%
Width 50%
Width 75%
Width 100%
Code
<div class="w-25 p-3" style="background-color: #eee;">Width 25%</div>
<div class="w-50 p-3" style="background-color: #eee;">Width 50%</div>
<div class="w-75 p-3" style="background-color: #eee;">Width 75%</div>
<div class="w-100 p-3" style="background-color: #eee;">Width 100%</div>

Easily make an element as wide or as tall (relative to its parent) with our width and height utilities. Includes support for 25%, 50%, 75%, and 100% by default.