Panels


A panel in bootstrap is a bordered box with some padding around its content.

Source Code

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tutor Joes</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
    <!--<link rel="stylesheet" href="css/bootstrap.min.css">-->
    <style>
        hr {
            margin-top: 15px;
            margin-bottom: 15px;
            display: block;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-md-8">
                <div class="panel panel-default">
                    <div class="panel-heading">Heading</div>
                    <div class="panel-body">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ex, adipisci?</div>
                    <div class="panel-footer">Footer</div>
                </div>
                <div class="panel panel-primary">
                    <div class="panel-heading">Heading</div>
                    <div class="panel-body">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ex, adipisci?</div>
                    <div class="panel-footer">Footer</div>
                </div>
                <div class="panel panel-danger">
                    <div class="panel-heading">Heading</div>
                    <div class="panel-body">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ex, adipisci?</div>
                    <div class="panel-footer">Footer</div>
                </div>
            </div>
        </div>
    </div>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
    <!--<script src="js/jquery.min.js"></script>-->
    <!--<script src="js/bootstrap.min.js"></script>-->
</body>
</html>
To download raw file Click Here