Bootstrap Tutorial - Create panel warning








The following code shows how to create panel warning.

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.j ava 2s . co  m-->
.panel-heading>.table, .panel-heading>.table th {
  margin: 0px;
  border: 0px;
}
</style>
</head>
<body style='margin:30px'>
  <h3>1. Heading Panel</h3>
  <div class="panel panel-warning">
    <div class="panel-heading">No title tag</div>
    <div class="panel-body">Panel content</div>
  </div>
</body>
</html>

Click to view the demo