ShapeYourPath
(current)
Run Code
Live Code Editor- Bootstrap 4 Full Width Jumbotron
Source Code
<!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="description" content=""> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" /> <title>Bootstrap 4 Full Width Jumbotron</title> </head> <body> <h1 class="my-3 text-center">Bootstrap 4 Full Width Jumbotron</h1> <p class="my-3 text-center"> In this example, you will learn how to make a Bootstrap 4 full-width jumbotron. Jumbotron is a rounded, big gray box that highlights some special content. </p> <div class="jumbotron jumbotron-fluid"> <div class="container"> <h2>Full-width Jumbotron</h2> <p>Bootstrap is the most popular CSS Framework</p> </div> </div> <div class="jumbotron jumbotron-fluid"> <div class="container-fluid"> <h2>Full-width Jumbotron</h2> <p>You can place either .container or .container-fluid inside the full-width jumbotron</p> </div> </div> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> </body> </html>
Output :
Running