Working with Bootstrap Jumbotronn

Jumbotron component can optionally increase the size of headings and add a lot of margin for landing page content.

To use it follow the below given steps −

  • Create a container <div> with the class of .jumbotron.
  • In addition to a larger <h1>, the font-weight is reduced to 200

Let us see an example −


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 = "container">
         <div class = "jumbotron">
            <h1>Welcome to first page!</h1>
            <p>Example for jumbotron.</p>
               <a class = "btn btn-primary btn-lg" role = "button">Button</a>