Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"panels with header and footer color"
Bootstrap 3.3.0 Snippet by
http://www.dotnetqueries.com/
3.3.0
panel
header
footer
Preview
HTML
CSS
View Full Screen
Fork
Fork this
3.0K
 
1 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <h2>Panels with header and footer samples</h2> <div class="panel panel-primary"> <div class="panel-heading">Panel header with panel-primary class</div> <div class="panel-body">Panel body</div> <div class="panel-footer panel-footer-primary"> Panel footer </div> </div> <div class="panel panel-danger"> <div class="panel-heading">Panel header with panel-danger class</div> <div class="panel-body">Panel body</div> <div class="panel-footer panel-footer-danger"> Panel footer </div> </div> <div class="panel panel-info"> <div class="panel-heading">Panel header with panel-info class</div> <div class="panel-body">Panel body</div> <div class="panel-footer panel-footer-info"> Panel footer </div> </div> </div>
/* panel styles */ .panel-footer.panel-footer-primary { color: #ffffff; background-color: #428bca; border-color: #428bca; } .panel-footer.panel-footer-danger { color: #b94a48; background-color: #f2dede; border-color: #eed3d7; } .panel-footer.panel-footer-info{ color: #3a87ad; background-color: #d9edf7; border-color: #bce8f1; } /* panel styles */
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76