Panels
Discover the Panels features below
Basic
By default, all the .panel
does is apply some basic border and padding to contain some content.
Panel with heading
Easily add a heading container to your panel with .panel-heading
. You may also include any <h1>
-<h6>
with a .panel-title
class to add a pre-styled heading. However, the font sizes of <h1>
-<h6>
are overridden by .panel-heading
. For proper link coloring, be sure to place links in headings within .panel-title
.
Panel title
Panel with footer
Wrap buttons or secondary text in .panel-footer
. Note that panel footers do not inherit colors and borders when using contextual variations as they are not meant to be in the foreground.
Contextual alternatives
Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.
Primary
.panel-primary
class.
Success
.panel-success
class.
Info
.panel-info
class.
Warning
.panel-warning
class.
Danger
.panel-danger
class.
Basic
.panel-default
class.