BOOTSTRAP 4 JUMBOTRON
The Jumbotron component of bootstrap is a flexible component that is used to showcase some special content on your website.
You can use
.jumbotron class with <div> tag to create a jumbotron. You can wrap any valid HTML element with jumbotron.
The Bootstrap's jumbotron CSS property are :
padding: 2rem 1rem;
Below is an example of jumbotron. See how it stands out from other elements.
Learn To Code
Using Coding You can build anything you can imagine digitally, the only limit is your imagination.Start Today
You can see in the above example the jumbotron box as a round border. To remove the round border and get full-width jumbotron, add the
.jumbotron-fluid class and add a
Here is an example below, look at its border-radius and width. (Play the code to see better)
- Jumbotron is used for a showcase of special elements.
.jumbotronclass on the div element to create bootstrap's jumbotron.
- For full width and no border-radius in jumbotron use additional modifier
.jumbotron-fluidand add a