Usage of Bootstrap class panel-primary

BootstrapWeb DevelopmentCSS Framework

The panel-primary class in Bootstrap is a contextual state class. Yes, it is blue in color.

You can try to run the following code to implement a panel-primary class in Bootstrap


Live Demo

<!DOCTYPE html>
      <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>
      <div class = "panel panel-primary">
         <div class = "panel-heading">
            <h3 class = "panel-title">Panel title</h3>
         <div class = "panel-body">
            This is a Basic panel
Updated on 12-Jun-2020 18:43:01