Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Bootstrap4 Jumbotron

Bootstrap4 Jumbotron

Jumbotron creates a large gray background box in which you can place special content and information.

Tip: You can place HTML tags inside a Jumbotron, as well as Bootstrap elements.

We can add the .img-fluid class to the

Add the .jumbotron class to the element to create a jumbotron:

Example

<div class="jumbotron">
<h1>

Runoob Tutorial

h1

<

p

What you learn is not just technology, but also dreams!!!

p

div

Try it »


Full-screen Jumbotron

If you want to create a full screen without rounded corners, you can add the .container or .container-fluid class to the div inside the .jumbotron-fluid class:

Example

<div class=">

jumbotron jumbotron-fluid

"

<div class="container">
<h1>

Runoob Tutorial

h1

<

p

What you learn is not just technology, but also dreams!!!

p

div

div

Try it »