Paragraph
Donec blandit leo et facilisis molestie. Donec congue tortor urna, sed porta dui rutrum a. Cras et auctor turpis, at auctor libero. Sed feugiat vulputate neque porttitor placerat. Quisque eu dictum sapien, sed euismod nisl. Nunc pharetra eros nec tellus fermentum porta. Nullam semper eros condimentum libero varius luctus. Aenean laoreet, quam a mattis aliquet, lacus leo elementum mi, in faucibus purus urna nec nulla. Suspendisse potenti.
Headings Style for headings
This is heading H1 ...
This is heading H2 ...
This is heading H3 ...
This is heading H4 ...
This is heading H5 ...
This is heading h6 ...
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 |
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.