Mark panel title

Description

The following code shows how to mark panel title.

Example


<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-git2.js'></script>
<link rel="stylesheet" type="text/css"
  href="http://getbootstrap.com/assets/css/docs.css">
<link rel="stylesheet" type="text/css"
  href="http://getbootstrap.com/dist/css/bootstrap.css">
<script type='text/javascript'
  src="http://requirejs.org/docs/release/2.1.8/minified/require.js"></script>
<style type='text/css'>
.panel-success>.panel-footer {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}<!-- w w  w  .ja v a2s.co  m-->

.panel-heading>.table, .panel-heading>.table th {
  margin: 0px;
  border: 0px;
}
</style>
</head>
<body style='margin:30px'>
  <h3>Heading Panel with Title</h3>
  <div class="panel panel-success">
    <div class="panel-heading">
      <h3 class="panel-title">Panel Title</h3>
    </div>
    <div class="panel-body">Panel content</div>
  </div>
</body>
</html>

Click to view the demo





















Home »
  Bootstrap »
    Example »




Accordion
Alert
Auto Complete
Badge
Breadcrum
Button
Carousel
Collapse
Dialog
Dropdown
Form
Icon
Jumbotron
Label
Layout
List
List Group
Media
Navigation Bar
Pager
Page Header
Panel
Paragraph
Pills
Popover
ProgressBar
ScrollSpy
Switch
Tab
Table
Thumnail
Tooltip
Tree
Well