|
6 | 6 | body_class: ""
|
7 | 7 | ---
|
8 | 8 |
|
9 |
| -<div class="px-4 py-5 my-5 text-center"> |
10 |
| - <img class="d-block mx-auto mb-4" src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo.svg" alt="" width="72" height="57"> |
11 |
| - <h1 class="display-5 fw-bold">Centered hero</h1> |
12 |
| - <div class="col-lg-6 mx-auto"> |
13 |
| - <p class="lead mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
14 |
| - <div class="d-grid gap-2 d-sm-flex justify-content-sm-center"> |
15 |
| - <button type="button" class="btn btn-primary btn-lg px-4 me-sm-3">Primary button</button> |
16 |
| - <button type="button" class="btn btn-outline-secondary btn-lg px-4">Secondary</button> |
| 9 | +<main> |
| 10 | + <h1 class="visually-hidden">Heroes examples</h1> |
| 11 | + |
| 12 | + <div class="px-4 py-5 my-5 text-center"> |
| 13 | + <img class="d-block mx-auto mb-4" src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo.svg" alt="" width="72" height="57"> |
| 14 | + <h1 class="display-5 fw-bold">Centered hero</h1> |
| 15 | + <div class="col-lg-6 mx-auto"> |
| 16 | + <p class="lead mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
| 17 | + <div class="d-grid gap-2 d-sm-flex justify-content-sm-center"> |
| 18 | + <button type="button" class="btn btn-primary btn-lg px-4 me-sm-3">Primary button</button> |
| 19 | + <button type="button" class="btn btn-outline-secondary btn-lg px-4">Secondary</button> |
| 20 | + </div> |
17 | 21 | </div>
|
18 | 22 | </div>
|
19 |
| -</div> |
20 | 23 |
|
21 |
| -<div class="b-example-divider"></div> |
| 24 | + <div class="b-example-divider"></div> |
22 | 25 |
|
23 |
| -<div class="px-4 pt-5 my-5 text-center border-bottom"> |
24 |
| - <h1 class="display-4 fw-bold">Centered screenshot</h1> |
25 |
| - <div class="col-lg-6 mx-auto"> |
26 |
| - <p class="lead mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
27 |
| - <div class="d-grid gap-2 d-sm-flex justify-content-sm-center mb-5"> |
28 |
| - <button type="button" class="btn btn-primary btn-lg px-4 me-sm-3">Primary button</button> |
29 |
| - <button type="button" class="btn btn-outline-secondary btn-lg px-4">Secondary</button> |
| 26 | + <div class="px-4 pt-5 my-5 text-center border-bottom"> |
| 27 | + <h1 class="display-4 fw-bold">Centered screenshot</h1> |
| 28 | + <div class="col-lg-6 mx-auto"> |
| 29 | + <p class="lead mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
| 30 | + <div class="d-grid gap-2 d-sm-flex justify-content-sm-center mb-5"> |
| 31 | + <button type="button" class="btn btn-primary btn-lg px-4 me-sm-3">Primary button</button> |
| 32 | + <button type="button" class="btn btn-outline-secondary btn-lg px-4">Secondary</button> |
| 33 | + </div> |
30 | 34 | </div>
|
31 |
| - </div> |
32 |
| - <div class="overflow-hidden" style="max-height: 30vh;"> |
33 |
| - <div class="container px-5"> |
34 |
| - <img src="bootstrap-docs.png" class="img-fluid border rounded-3 shadow-lg mb-4" alt="Example image" width="700" height="500" loading="lazy"> |
| 35 | + <div class="overflow-hidden" style="max-height: 30vh;"> |
| 36 | + <div class="container px-5"> |
| 37 | + <img src="bootstrap-docs.png" class="img-fluid border rounded-3 shadow-lg mb-4" alt="Example image" width="700" height="500" loading="lazy"> |
| 38 | + </div> |
35 | 39 | </div>
|
36 | 40 | </div>
|
37 |
| -</div> |
38 | 41 |
|
39 |
| -<div class="b-example-divider"></div> |
| 42 | + <div class="b-example-divider"></div> |
40 | 43 |
|
41 |
| -<div class="container col-xxl-8 px-4 py-5"> |
42 |
| - <div class="row flex-lg-row-reverse align-items-center g-5 py-5"> |
43 |
| - <div class="col-10 col-sm-8 col-lg-6"> |
44 |
| - <img src="bootstrap-themes.png" class="d-block mx-lg-auto img-fluid" alt="Bootstrap Themes" width="700" height="500" loading="lazy"> |
45 |
| - </div> |
46 |
| - <div class="col-lg-6"> |
47 |
| - <h1 class="display-5 fw-bold lh-1 mb-3">Responsive left-aligned hero with image</h1> |
48 |
| - <p class="lead">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
49 |
| - <div class="d-grid gap-2 d-md-flex justify-content-md-start"> |
50 |
| - <button type="button" class="btn btn-primary btn-lg px-4 me-md-2">Primary</button> |
51 |
| - <button type="button" class="btn btn-outline-secondary btn-lg px-4">Default</button> |
| 44 | + <div class="container col-xxl-8 px-4 py-5"> |
| 45 | + <div class="row flex-lg-row-reverse align-items-center g-5 py-5"> |
| 46 | + <div class="col-10 col-sm-8 col-lg-6"> |
| 47 | + <img src="bootstrap-themes.png" class="d-block mx-lg-auto img-fluid" alt="Bootstrap Themes" width="700" height="500" loading="lazy"> |
| 48 | + </div> |
| 49 | + <div class="col-lg-6"> |
| 50 | + <h1 class="display-5 fw-bold lh-1 mb-3">Responsive left-aligned hero with image</h1> |
| 51 | + <p class="lead">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
| 52 | + <div class="d-grid gap-2 d-md-flex justify-content-md-start"> |
| 53 | + <button type="button" class="btn btn-primary btn-lg px-4 me-md-2">Primary</button> |
| 54 | + <button type="button" class="btn btn-outline-secondary btn-lg px-4">Default</button> |
| 55 | + </div> |
52 | 56 | </div>
|
53 | 57 | </div>
|
54 | 58 | </div>
|
55 |
| -</div> |
56 | 59 |
|
57 |
| -<div class="b-example-divider"></div> |
| 60 | + <div class="b-example-divider"></div> |
58 | 61 |
|
59 |
| -<div class="container col-xl-10 col-xxl-8 px-4 py-5"> |
60 |
| - <div class="row align-items-center g-lg-5 py-5"> |
61 |
| - <div class="col-lg-7 text-center text-lg-start"> |
62 |
| - <h1 class="display-4 fw-bold lh-1 mb-3">Vertically centered hero sign-up form</h1> |
63 |
| - <p class="col-lg-10 fs-4">Below is an example form built entirely with Bootstrap’s form controls. Each required form group has a validation state that can be triggered by attempting to submit the form without completing it.</p> |
64 |
| - </div> |
65 |
| - <div class="col-md-10 mx-auto col-lg-5"> |
66 |
| - <form class="p-4 p-md-5 border rounded-3 bg-light"> |
67 |
| - <div class="form-floating mb-3"> |
68 |
| - <input type=" email" class=" form-control" id=" floatingInput" placeholder=" [email protected]" > |
69 |
| - <label for="floatingInput">Email address</label> |
70 |
| - </div> |
71 |
| - <div class="form-floating mb-3"> |
72 |
| - <input type="password" class="form-control" id="floatingPassword" placeholder="Password"> |
73 |
| - <label for="floatingPassword">Password</label> |
74 |
| - </div> |
75 |
| - <div class="checkbox mb-3"> |
76 |
| - <label> |
77 |
| - <input type="checkbox" value="remember-me"> Remember me |
78 |
| - </label> |
79 |
| - </div> |
80 |
| - <button class="w-100 btn btn-lg btn-primary" type="submit">Sign up</button> |
81 |
| - <hr class="my-4"> |
82 |
| - <small class="text-muted">By clicking Sign up, you agree to the terms of use.</small> |
83 |
| - </form> |
| 62 | + <div class="container col-xl-10 col-xxl-8 px-4 py-5"> |
| 63 | + <div class="row align-items-center g-lg-5 py-5"> |
| 64 | + <div class="col-lg-7 text-center text-lg-start"> |
| 65 | + <h1 class="display-4 fw-bold lh-1 mb-3">Vertically centered hero sign-up form</h1> |
| 66 | + <p class="col-lg-10 fs-4">Below is an example form built entirely with Bootstrap’s form controls. Each required form group has a validation state that can be triggered by attempting to submit the form without completing it.</p> |
| 67 | + </div> |
| 68 | + <div class="col-md-10 mx-auto col-lg-5"> |
| 69 | + <form class="p-4 p-md-5 border rounded-3 bg-light"> |
| 70 | + <div class="form-floating mb-3"> |
| 71 | + <input type=" email" class=" form-control" id=" floatingInput" placeholder=" [email protected]" > |
| 72 | + <label for="floatingInput">Email address</label> |
| 73 | + </div> |
| 74 | + <div class="form-floating mb-3"> |
| 75 | + <input type="password" class="form-control" id="floatingPassword" placeholder="Password"> |
| 76 | + <label for="floatingPassword">Password</label> |
| 77 | + </div> |
| 78 | + <div class="checkbox mb-3"> |
| 79 | + <label> |
| 80 | + <input type="checkbox" value="remember-me"> Remember me |
| 81 | + </label> |
| 82 | + </div> |
| 83 | + <button class="w-100 btn btn-lg btn-primary" type="submit">Sign up</button> |
| 84 | + <hr class="my-4"> |
| 85 | + <small class="text-muted">By clicking Sign up, you agree to the terms of use.</small> |
| 86 | + </form> |
| 87 | + </div> |
84 | 88 | </div>
|
85 | 89 | </div>
|
86 |
| -</div> |
87 | 90 |
|
88 |
| -<div class="b-example-divider"></div> |
| 91 | + <div class="b-example-divider"></div> |
89 | 92 |
|
90 |
| -<div class="container my-5"> |
91 |
| - <div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center rounded-3 border shadow-lg"> |
92 |
| - <div class="col-lg-7 p-3 p-lg-5 pt-lg-3"> |
93 |
| - <h1 class="display-4 fw-bold lh-1">Border hero with cropped image and shadows</h1> |
94 |
| - <p class="lead">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
95 |
| - <div class="d-grid gap-2 d-md-flex justify-content-md-start mb-4 mb-lg-3"> |
96 |
| - <button type="button" class="btn btn-primary btn-lg px-4 me-md-2 fw-bold">Primary</button> |
97 |
| - <button type="button" class="btn btn-outline-secondary btn-lg px-4">Default</button> |
| 93 | + <div class="container my-5"> |
| 94 | + <div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center rounded-3 border shadow-lg"> |
| 95 | + <div class="col-lg-7 p-3 p-lg-5 pt-lg-3"> |
| 96 | + <h1 class="display-4 fw-bold lh-1">Border hero with cropped image and shadows</h1> |
| 97 | + <p class="lead">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
| 98 | + <div class="d-grid gap-2 d-md-flex justify-content-md-start mb-4 mb-lg-3"> |
| 99 | + <button type="button" class="btn btn-primary btn-lg px-4 me-md-2 fw-bold">Primary</button> |
| 100 | + <button type="button" class="btn btn-outline-secondary btn-lg px-4">Default</button> |
| 101 | + </div> |
98 | 102 | </div>
|
99 |
| - </div> |
100 |
| - <div class="col-lg-4 offset-lg-1 p-0 position-relative overflow-hidden shadow-lg"> |
101 |
| - <div class="position-lg-absolute top-0 left-0 overflow-hidden"> |
102 |
| - <img class="d-block rounded-lg-3" src="bootstrap-docs.png" alt="" width="720"> |
| 103 | + <div class="col-lg-4 offset-lg-1 p-0 position-relative overflow-hidden shadow-lg"> |
| 104 | + <div class="position-lg-absolute top-0 left-0 overflow-hidden"> |
| 105 | + <img class="d-block rounded-lg-3" src="bootstrap-docs.png" alt="" width="720"> |
| 106 | + </div> |
103 | 107 | </div>
|
104 | 108 | </div>
|
105 | 109 | </div>
|
106 |
| -</div> |
107 | 110 |
|
108 |
| -<div class="b-example-divider"></div> |
| 111 | + <div class="b-example-divider"></div> |
109 | 112 |
|
110 |
| -<div class="bg-dark text-secondary px-4 py-5 text-center"> |
111 |
| - <div class="py-5"> |
112 |
| - <h1 class="display-5 fw-bold text-white">Dark mode hero</h1> |
113 |
| - <div class="col-lg-6 mx-auto"> |
114 |
| - <p class="fs-5 mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
115 |
| - <div class="d-grid gap-2 d-sm-flex justify-content-sm-center"> |
116 |
| - <button type="button" class="btn btn-outline-info btn-lg px-4 me-sm-3 fw-bold">Custom button</button> |
117 |
| - <button type="button" class="btn btn-outline-light btn-lg px-4">Secondary</button> |
| 113 | + <div class="bg-dark text-secondary px-4 py-5 text-center"> |
| 114 | + <div class="py-5"> |
| 115 | + <h1 class="display-5 fw-bold text-white">Dark mode hero</h1> |
| 116 | + <div class="col-lg-6 mx-auto"> |
| 117 | + <p class="fs-5 mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p> |
| 118 | + <div class="d-grid gap-2 d-sm-flex justify-content-sm-center"> |
| 119 | + <button type="button" class="btn btn-outline-info btn-lg px-4 me-sm-3 fw-bold">Custom button</button> |
| 120 | + <button type="button" class="btn btn-outline-light btn-lg px-4">Secondary</button> |
| 121 | + </div> |
118 | 122 | </div>
|
119 | 123 | </div>
|
120 | 124 | </div>
|
121 |
| -</div> |
122 | 125 |
|
123 |
| -<div class="b-example-divider mb-0"></div> |
| 126 | + <div class="b-example-divider mb-0"></div> |
| 127 | +</main> |
0 commit comments