SoFunction
Updated on 2025-02-28

Bootstrap CSS component: Big screen display

When designing web page layout, there is often a large-screen content display jumpotron

As the name implies, this component can increase the size of the title and add more margins to the login page content.

It can be seen from the source code:

If the jumpotron is placed in the container style, the rounded corners will be displayed; if not placed inside, the rounded corners will not be displayed.

<!DOCTYPE html>
<html lang="en">
 <head>
 <meta charset="utf-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
 <!-- Bootstrapfrom3.0The version begins to fully support mobile platforms,Implement the mobile-first purpose -->
 <meta name="viewport" content="width=device-width, initial-scale=1">

 <title>Bootstrap 101 Template</title>

 <!-- Bootstrap -->
 <link href="bootstrap-3.3.7-dist/css/" rel="stylesheet">

 </head>
 <body>
  <!-- Extra large screenjumbotron:
   1.Create a class .jumbotron. container <div>
   2.Except for a larger one <h1>,Font thickness font-weight Reduced to 200-->
  <div class="jumbotron">
   <h1>Hello,world!</h1>
   <p>This is a simple hero unit.</p>
   <p><button class="btn btn-primary">Learn more</button></p>
  </div>

 <!-- bootstrapIt is based onjQuery-->
 <script src="/ajax/libs/jquery/1.12.4/"></script>
 <script src="bootstrap-3.3.7-dist/js/"></script>
 </body>
</html>

The above is all the content of this article. I hope it will be helpful to everyone's study and I hope everyone will support me more.