Similar to the contextual text color classes, easily set the background of an element to any contextual class.
Similar to the contextual text color classes, easily set the background of an element to any contextual class. Anchor components will darken on hover, just like the text classes.
Add classes to an img
element to easily style images in any project.
Add classes to an img
element to easily style images in any project.
Table with pagination
Table with pagination
Float an element to the left or right with a class.
Float an element to the left or right with a class.
!important
is included to avoid specificity issues.
To align components in navbars with utility classes, use .navbar-left or .navbar-right instead. See the navbar docs for details.
Easily realign text to components with text alignment classes.
Easily realign text to components with text alignment classes.
Convey meaning through color with a handful of emphasis utility classes.
Convey meaning through color with a handful of emphasis utility classes. These may also be applied to links and will darken on hover just like our default link styles.
Transform text in components with text capitalization classes.
Transform text in components with text capitalization classes.
Force an element to be shown or hidden (including for screen readers) with the use of .show
and .hidden
classes.
Force an element to be shown or hidden (including for screen readers) with the use of .show
and .hidden
classes.
These classes use !important
to avoid specificity conflicts, just like the quick floats.
They are only available for block level toggling. They can also be used as mixins.
.hide
is available, but it does not always affect screen readers and is deprecated as of v3.0.1. Use .hidden
or .sr-only
instead.
Furthermore, .invisible
can be used to toggle only the visibility of an element, meaning its display is not modified and the element can still affect the flow of the document.
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
Button builder
Button builder
Use any of the available button classes to quickly create a styled button
Fancy larger or smaller buttons? Add .btn-lg
, .btn-sm
, or .btn-xs
for additional sizes
Create block level buttons—those that span the full width of a parent— by adding .btn-block
Buttons will appear pressed (with a darker background, darker border, and inset shadow) when active
Make buttons look unclickable by fading them back with opacity
A slideshow component for cycling through elements, like a carousel.
A slideshow component for cycling through elements, like a carousel.
Nested carousels are not supported.
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.
Add small overlays of content, like those on the iPad, to any element for housing secondary information.
Add small overlays of content, like those on the iPad, to any element for housing secondary information. Popovers whose both title and content are zero-length are never displayed.
Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.
Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.
Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.
Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage. Tooltips with zero-length titles are never displayed.
Simple bootstrap navigation bar
Simple bootstrap navigation bar
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.
Add small overlays of content, like those on the iPad, to any element for housing secondary information.
Add small overlays of content, like those on the iPad, to any element for housing secondary information. Popovers whose both title and content are zero-length are never displayed.
Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.
Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage. Tooltips with zero-length titles are never displayed.