"Bootstrap section using jumbotron and image class"
Bootstrap 4.1.1 Snippet by anjalish

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap 4 Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <!--font--> <link rel="preconnect" href="https://fonts.gstatic.com"> <link href="https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Spartan:wght@100&display=swap" rel="stylesheet"> <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> </head> <body> <br> <section> <div class="container"> <div class="row"> <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 col-xl-6"> <div class="jumbotron jumbotron-fluid bg-warning text-white"> <div class="container"> <h1 class="text-center">Beginner Guide</h1> <p class="text-center">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s when an unknown printer took a galley of type and scrambled it to make a type specimen book.It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages.</p> </div> </div> </div> <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 col-xl-3"> <img src="https://photographychef.com/wp-content/uploads/2020/01/pexels-photo-1130626.jpeg" alt="demo-img" class="img-thumbnail img-fluid"> </div> <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 col-xl-3"> <div class="jumbotron bg-info text-white"> <h1>Beginner Guide</h1> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p> </div> </div> </div> </div> </section> <br> <section> <div class="container"> <div class="row"> <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 col-xl-3"> <div class="jumbotron bg-primary text-white"> <h1>Beginner Guide</h1> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p> </div> </div> <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 col-xl-3"> <img src="https://photographychef.com/wp-content/uploads/2020/01/pexels-photo-1130626.jpeg" alt="demo-img" class=" w-100 img-thumbnail img-fluid mx-auto d-block"> </div> <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 col-xl-3"> <div class="jumbotron bg-success text-white"> <h1>Beginner Guide</h1> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p> </div> </div> <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 col-xl-3"> <img src="https://photographychef.com/wp-content/uploads/2020/01/pexels-photo-1130626.jpeg" alt="demo-img" class="img-thumbnail img-fluid mx-auto d-block"> </div> </div> </div> </section> </body> </html>
h1 { font-family: 'Abril Fatface', cursive;}

Related: See More


Questions / Comments: