Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Example of Bootstrap 2 Equal Column Layout for Tablets and Desktops</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script> <style> .row > div{ margin-bottom: 15px; } .header{ min-height: 90px; } .footer{ min-height: 60px; } .header, .footer{ background: #2f2f2f; } .content{ min-height: 300px; background: #dbdfe5; } .content.bg-alt{ background: #b4bac0; } </style> </head> <body> <!-- Open the output in a new blank tab (Click the arrow next to "Show Output" button) and resize the browser window to understand how the Bootstrap responsive grid system works. --> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="header"></div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="content"></div> </div> <div class="col-md-6"> <div class="content bg-alt"></div> </div> </div> <div class="row"> <div class="col-md-12"> <div class="footer"></div> </div> </div> </div> </body> </html>