Bootstrap Tutorial - Mark panel footer








The following code shows how to mark panel footer.

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 ww .ja  v a 2s  .  co m-->

.panel-heading>.table, .panel-heading>.table th {
  margin: 0px;
  border: 0px;
}
</style>
</head>
<body style='margin:30px'>
  <h3>3. Panel with footer</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 class="panel-footer">Panel Footer</div>
  </div>
</body>
</html>

Click to view the demo