Search
 
SCRIPT & CODE EXAMPLE
 

HTML

bootstrap jumbotron

<div class="jumbotron">
  <h1 class="display-4">Hello, world!</h1>
  <p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
  <hr class="my-4">
  <p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
  <p class="lead">
    <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
  </p>
</div>
Comment

bootstrap 5 jumbotron

<div class="bg-light p-5 rounded-lg m-3">
  <h1 class="display-4">Hello, world!</h1>
  <p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
  <hr class="my-4">
  <p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
  <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
</div>
Comment

Jumbotron in boostrap 5

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

<h5>In Bootstrap v4.x</h5>

<div class="jumbotron m-3">
  <h1 class="display-4">Hello, world!</h1>
  <p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
  <hr class="my-4">
  <p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
  <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
</div>

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

<h5>In Bootstrap v5.x</h5>

<div class="bg-light p-5 rounded-lg m-3">
  <h1 class="display-4">Hello, world!</h1>
  <p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
  <hr class="my-4">
  <p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
  <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
</div>
 Run code snippet
Comment

what is jumbotron in bootstrap

A jumbotron indicates a big box for calling extra attention to some special content or information.

A jumbotron is displayed as a grey box with rounded corners. It also enlarges the font sizes of the text inside it.

Tip: Inside a jumbotron you can put nearly any valid HTML, including other Bootstrap elements/classes.

Use a <div> element with class .jumbotron to create a jumbotron
Comment

Jumbotron in boostrap 5

.jumbotron {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #e9ecef;
  border-radius: .3rem;
}
Comment

PREVIOUS NEXT
Code Example
Html :: cards vuetify 
Html :: html work with path 
Html :: html <nav element 
Html :: hamburger menu 
Html :: barra di ricerca in html 
Html :: how to make a class in html 
Html :: table bootstrap dark 
Html :: input hidden selected 
Html :: fee receipt format html 
Html :: HTML <header element 
Html :: html cite 
Html :: lorem ipsum text 
Html :: v model vue 
Html :: cards froup 
Html :: html timed hide 
Html :: load a html page inside another 
Html :: free form template html 
Html :: html style tag 
Html :: what is html element 
Html :: site:www.javascriptcn.com como criar uma cal com letras e numeros 
Html :: £ in html 
Html :: npm package private 
Html :: expo webview local html 
Html :: twig first last element 
Html :: where do you put style tags in html 
Html :: my projects 
Html :: how to create a clock 
Html :: abbr in html 
Html :: bootstrap template 
Html :: aside html 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =