A jumbotron is a big grey box used to indicate some text which requires extra attention. Any text that seems to be important can be written inside a jumbotron to make it appear big and noticeable.
Steps to add jumbotron:
- Use a jumbotron class inside a div element.
- Write any text inside the div tag.
- Close the div element.
<div class="jumbtron"> Contents... <div>
Full-width Jumbotron: The .jumbotron-fluid and .container or .container-fluid classes is used to create a full-width jumbotron without rounded borders.
<div class="jumbotron jumbotron-fluid"> <div class="container"> Contents... <div> <div>
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.