Tutorial on How to Create Bootstrap 3 Jumbotron

Bootstrap jumbotron indicates a big box for calling extra attention to some special content or information. It is a gray division with rounded corner. The Bootstrap jumbotron enlarges the font sizes of the text inside it. Bootstrap jumbotron can be used inside container or container fluid and outside container or container fluid.

To use a jumbotron you need to give the classname .jumbotron to a div

Example: <div class="jumbotron">

jumbotron inside container or container fluid

the jumbotron inside a container or container fluid does not cover 100% of media width and showing its rounded corner and the other property is displayed.

Example:

Try it yourself

<div class="container">
  <div class="jumbotron">
    <h1>Bootstrap Jumbotron heading insede container or container fluid</h1>      
    <p>a sample paragraph on jumbotron, which indicates a big box for calling extra attention to some special content or information insede container or container fluid</p>
  </div>
  <h1>normal heading insede container or container fluid</h1>      
  <p>normal para insede container or container fluid</p>      
</div>

jumbotron outside container or container fluid

the jumbotron outside a container or container fluid covers 100% of media width and it not showing its rounded corner and the other property is displayed.

Example:

Try it yourself

<div class="jumbotron">
   <h1>Bootstrap Jumbotron heading outside container or container fluid</h1>      
   <p>a sample paragraph on jumbotron, which indicates a big box for calling extra attention to some special content or information outside container or container fluid</p>
</div>
<h1>normal heading outside container or container fluid</h1>      
<p>normal para outside container or container fluid</p>

In this post you have learned how jumbotron works.

Pleease provide your valuanle comments to make the site better and more useful

Thanks for reading.

Share The Post On -

Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.