"Basic Panels Example"
Bootstrap 3.0.0 Snippet by mwood073

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <h1 class="page-header">Header</h1> <h4>Default Panel</h4> <div class="row"> <div class="col-md-6"> <div class="panel panel-default"> <div class="panel-heading"> Default Panel </div> <div class="panel-body"> <p>Panel Content</p> </div> <div class="panel-footer"> Panel Footer </div> </div> </div> </div> <h4>Primary Panel</h4> <div class="row"> <div class="col-md-6"> <div class="panel panel-primary"> <div class="panel-heading"> Primary Panel </div> <div class="panel-body"> <p>Panel Content</p> </div> </div> </div> </div> <h4>Success Panel</h4> <div class="row"> <div class="col-md-6"> <div class="panel panel-success"> <div class="panel-heading"> Success Panel </div> <div class="panel-body"> <p>Panel Content</p> </div> </div> </div> </div> <h4>Info Panel</h4> <div class="row"> <div class="col-md-6"> <div class="panel panel-info"> <div class="panel-heading"> Info Panel </div> <div class="panel-body"> <p>Panel Content</p> </div> </div> </div> </div> <h4>Warning Panel</h4> <div class="row"> <div class="col-md-6"> <div class="panel panel-warning"> <div class="panel-heading"> Warning Panel </div> <div class="panel-body"> <p>Panel Content</p> </div> </div> </div> </div> <h4>Danger Panel</h4> <div class="row"> <div class="col-md-6"> <div class="panel panel-danger"> <div class="panel-heading"> Danger Panel </div> <div class="panel-body"> <p>Panel Content</p> </div> </div> </div> </div> </div> <style> h4{ margin-top:50px;} </style>
.panel-default .panel-heading { background-color: #00ab90; color: #f2f2f2; } .panel-default .panel-footer { background-color: #00ab90; color: #f2f2f2; } .panel-default .panel-body { background-color: #f2f2f2; color: #333; } .panel-primary .panel-heading { background-color: #1f69d2; color: #f2f2f2; } .panel-primary .panel-footer { background-color: #1f69d2; color: #f2f2f2; } .panel-primary .panel-body { background-color: #f2f2f2; color: #333; }

Related: See More


Questions / Comments: