Bs Panels
Bootstrap Panels
Panels
Influenza A virus subtype H5N1 panel inwards bootstrap is a bordered box alongside some padding around its content: Influenza A virus subtype H5N1 Basic Panel
.panel
class, together with content within the panel has a .panel-body
class:Example
<div class="panel panel-default">
<div class="panel-body">A Basic Panel</div>
</div>
The
.panel-default
bird is used to mode the color of the panel. See the end instance on this page for to a greater extent than contextual classes.Panel Heading
Panel Heading
Panel Content
.panel-heading
bird adds a heading to the panel:Example
<div class="panel panel-default">
<div class="panel-heading">Panel Heading</div>
<div class="panel-body">Panel Content</div>
</div>
Panel Footer
Panel Content
.panel-footer
bird adds a footer to the panel:Example
<div class="panel panel-default">
<div class="panel-body">Panel Content</div>
<div class="panel-footer">Panel Footer</div>
</div>
Panel Group
To grouping many panels together, roll a<div>
alongside bird .panel-group
around them.The
.panel-group
bird clears the bottom-margin of each panel:Example
<div class="panel-group">
<div class="panel panel-default">
<div class="panel-body">Panel Content</div>
</div>
<div class="panel panel-default">
<div class="panel-body">Panel Content</div>
</div>
</div>
Panels alongside Contextual Classes
To color the panel, purpose contextual classes (.panel-default
, .panel-primary
, .panel-success
, .panel-info
, .panel-warning
, or .panel-danger
):Example
Panel alongside panel-default class
Panel Content
Panel alongside panel-primary class
Panel Content
Panel alongside panel-success class
Panel Content
Panel alongside panel-info class
Panel Content
Panel alongside panel-warning class
Panel Content
Panel alongside panel-danger class
Panel Content
Comments
Post a Comment