Thursday, December 11, 2014

Useful Bootstrap Classes

INLINE SUBHEADINGS
<small> around sub headings

Lead Body Copy
To add some emphasis to a paragraph, add class="lead". This will give you larger font size, lighter weight, and a taller line height.

STRIPED TABLE
By adding the .table-striped class, you will get stripes on rows within the <tbody>.

BORDERED TABLE
By adding the .table-bordered class, you will get borders surrounding every element and rounded corners around the entire table.

HOVER TABLE
By adding the .table-hover class, a light gray background will be added to rows while the cursor hovers over them.

CONDENSED TABLE
By adding the .table-condensed class, row padding is cut in half to condense the table. as seen in the following example. This is useful if you want denser information.

Form
Add a class of .form-control to all textual <input>, <textarea>, and <select> elements.

Image Responsive
img-responsive

No comments:

Post a Comment