Create a padded grey box with rounded corners in Bootstrap

Use the .jumbotron class to create a padded grey box with rounded corners.

You can try to run the following code to implement .jumbotron class in Bootstrap.

Example


   
      Bootstrap Example
      
      
      
   
   
      
         
           

Welcome to my website.

           

This is demo text.

           

               More            

         
     
   
Updated on: 2026-03-11T22:50:42+05:30

789 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements