Typography
Paragraph
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.
Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
Headings Style for headings
This is heading H1 Lorem ipsum ...
This is heading H2 Lorem ipsum ...
This is heading H3 Lorem ipsum ...
This is heading H4 Lorem ipsum ..
This is heading H5 Lorem ipsum ...
This is heading h6 Lorem ipsum ...
Emphasis and Highlights Styles for emphasis and highlights
Highlights
Fusce dapibus, highlighted text tellus ac cursus commodo, tortor mauris nibh.
Etiam porta highlighted text sem malesuada magna mollis euismod.
Aenean eu leoHighlighted text quam. Pellentesque ornare sem lacinia quam venenatis.
Duis mollis, Highlighted text est non commodo luctus, nisi erat porttitor ligula.
<p>Fusce dapibus, <span class="highlight-muted">highlighted text</span>
tellus ac cursus commodo, tortor mauris nibh.</p>
<p>Etiam porta <span class="highlight-warning">highlighted text</span> sem malesuada magna mollis euismod.</p>
<p>Aenean eu leo <span class="highlight-info">Highlighted text</span> quam. Pellentesque ornare sem lacinia quam venenatis.</p>
<p>Duis mollis, <span class="highlight-success">Highlighted text</span> est non commodo luctus, nisi erat porttitor ligula.</p>
Emphasis
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
Etiam porta sem malesuada magna mollis euismod.
Donec ullamcorper nulla non metus auctor fringilla.
Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
<p class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p> <p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p> <p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p> <p class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</p> <p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
Alerts Styles for success, warning, and error messages
Default alert
Wrap any text and an optional dismiss button in .alert
for a basic warning alert message.
<div class="alert"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Warning!</strong> Best check yo self, you're not looking too good. </div>
Contextual alternatives
Add optional classes to change an alert's connotation.
Error or danger
Success
Information
<div class="alert alert-error"> ... </div> <div class="alert alert-success"> ... </div> <div class="alert alert-info"> ... </div>
Blockquote
For quoting blocks of content from another source within your document.
Default blockquote
Wrap <blockquote>
around any HTML as the quote. For straight quotes we recommend a <p>
.
Waesent erat risus, ornare id feugiat vitae, elementum in nibh. Fusce est turpis, tincidunt sit amet pulvinar ut, venenatis nec justo. Quisque sodales interdum pellentesque. Ut molestie euismod erat et euismod. Pellentesque consequat nulla eu sapien suscipit ullamcorper, convallis sit amet quam ... "
<blockquote> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> </blockquote>
Buttons
Default buttons
Button styles can be applied to anything with the .btn
class applied. However, typically you'll want to apply these to only <a>
and <button>
elements for the best rendering.
Button | class="" | Description |
---|---|---|
btn |
Standard gray button with gradient | |
btn btn-primary |
Provides extra visual weight and identifies the primary action in a set of buttons | |
btn btn-info |
Used as an alternative to the default styles | |
btn btn-success |
Indicates a successful or positive action | |
btn btn-warning |
Indicates caution should be taken with this action | |
btn btn-danger |
Indicates a dangerous or potentially negative action | |
btn btn-inverse |
Alternate dark gray button, not tied to a semantic action or use | |
btn btn-link |
Deemphasize a button by making it look like a link while maintaining button behavior |
Cross browser compatibility
IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled button
elements, rendering text gray with a nasty text-shadow that we cannot fix.
Button sizes
Fancy larger or smaller buttons? Add .btn-large
, .btn-small
, or .btn-mini
for additional sizes.
<p> <button class="btn btn-large btn-primary" type="button">Large button</button> <button class="btn btn-large" type="button">Large button</button> </p> <p> <button class="btn btn-primary" type="button">Default button</button> <button class="btn" type="button">Default button</button> </p> <p> <button class="btn btn-small btn-primary" type="button">Small button</button> <button class="btn btn-small" type="button">Small button</button> </p> <p> <button class="btn btn-mini btn-primary" type="button">Mini button</button> <button class="btn btn-mini" type="button">Mini button</button> </p>
Create block level buttons—those that span the full width of a parent— by adding .btn-block
.
<button class="btn btn-large btn-block btn-primary" type="button">Block level button</button> <button class="btn btn-large btn-block" type="button">Block level button</button>
Dropcap
To add a big letter at the beginning of a word, a please add <span="dropcap">Letter</span>
to the first word of paragraph.
Waesent erat risus, ornare id feugiat vitae, elementum in nibh. Fusce est turpis, tincidunt sit amet pulvinar ut, venenatis nec justo.
Quisque sodales interdum pellentesque. Ut molestie euismod erat et euismod. Aenean accumsan porta nisl ac scelerisque. Quisque posuere fermentum mattis. Pellentesque consequat nulla eu sapien suscipit ullamcorper. Aenean mauris erat, mollis sed tempor quis, convallis sit amet quamrat risus, ornare id feugiat vitae, elementum in nibh. Fusce est turpis, tincidunt sit amet pulvinar ut, venenatis nec justo.
We have 29 guests and no members online