Bootstrap panel-heading class

BootstrapWeb DevelopmentCSS Framework

Use the .panel-heading class to add a panel to headings in Bootstrap.

You can try to run the following code to implement a panel-heading class

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <div class = "panel panel-default">
         <div class = "panel-heading">
            Panel Heading
         </div>
         <div class = "panel-body">
            Demo content
         </div>
      </div>
      <div class = "panel panel-default">
         <div class = "panel-heading">
            <h3 class = "panel-title">
               Panel Heading
            </h3>
         </div>
         <div class = "panel-body">
            Demo content
         </div>
      </div>
   </body>
</html>
raja
Published on 20-Jun-2018 14:09:45
Advertisements