2017-10-19 21:22:00 +02:00
<!doctype html>
2017-08-11 06:04:59 +02:00
< html lang = "en" >
< head >
< meta charset = "utf-8" >
2020-12-07 17:28:07 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2017-12-28 18:55:44 +01:00
< meta name = "description" content = "The most popular HTML, CSS, and JS library in the world." >
< meta name = "author" content = "Mark Otto, Jacob Thornton, and Bootstrap contributors" >
2021-05-05 21:46:33 +02:00
< meta name = "generator" content = "Hugo 0.83.1" >
2017-08-11 06:04:59 +02:00
2019-02-11 20:34:57 +01:00
< meta name = "docsearch:language" content = "en" >
2020-12-07 17:28:07 +01:00
< meta name = "docsearch:version" content = "5.0" >
2019-02-11 20:34:57 +01:00
2017-12-28 18:55:44 +01:00
< title > Bootstrap · The most popular HTML, CSS, and JS library in the world.< / title >
2017-08-11 06:04:59 +02:00
2019-02-11 20:34:57 +01:00
< link rel = "canonical" href = "https://getbootstrap.com/" >
2017-08-11 06:04:59 +02:00
2018-12-22 21:03:13 +01:00
2020-12-07 17:28:07 +01:00
<!-- Bootstrap core CSS -->
2021-05-13 18:28:44 +02:00
< link href = "/docs/5.0/dist/css/bootstrap.min.css" rel = "stylesheet" integrity = "sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin = "anonymous" >
2020-12-07 17:28:07 +01:00
< link href = "/docs/5.0/assets/css/docs.css" rel = "stylesheet" >
2017-10-19 21:22:00 +02:00
<!-- Favicons -->
2020-12-07 17:28:07 +01:00
< link rel = "apple-touch-icon" href = "/docs/5.0/assets/img/favicons/apple-touch-icon.png" sizes = "180x180" >
< link rel = "icon" href = "/docs/5.0/assets/img/favicons/favicon-32x32.png" sizes = "32x32" type = "image/png" >
< link rel = "icon" href = "/docs/5.0/assets/img/favicons/favicon-16x16.png" sizes = "16x16" type = "image/png" >
< link rel = "manifest" href = "/docs/5.0/assets/img/favicons/manifest.json" >
< link rel = "mask-icon" href = "/docs/5.0/assets/img/favicons/safari-pinned-tab.svg" color = "#7952b3" >
< link rel = "icon" href = "/docs/5.0/assets/img/favicons/favicon.ico" >
< meta name = "theme-color" content = "#7952b3" >
2017-10-19 21:22:00 +02:00
2017-08-11 06:04:59 +02:00
<!-- Twitter -->
2017-12-28 18:55:44 +01:00
< meta name = "twitter:card" content = "summary_large_image" >
2017-08-11 06:04:59 +02:00
< meta name = "twitter:site" content = "@getbootstrap" >
< meta name = "twitter:creator" content = "@getbootstrap" >
2017-12-28 18:55:44 +01:00
< meta name = "twitter:title" content = "Bootstrap" >
< meta name = "twitter:description" content = "The most popular HTML, CSS, and JS library in the world." >
2020-12-07 17:28:07 +01:00
< meta name = "twitter:image" content = "https://getbootstrap.com/docs/5.0/assets/brand/bootstrap-social-logo.png" >
2017-08-11 06:04:59 +02:00
<!-- Facebook -->
2017-12-28 18:55:44 +01:00
< meta property = "og:url" content = "https://getbootstrap.com/" >
< meta property = "og:title" content = "Bootstrap" >
< meta property = "og:description" content = "The most popular HTML, CSS, and JS library in the world." >
< meta property = "og:type" content = "website" >
2020-12-07 17:28:07 +01:00
< meta property = "og:image" content = "https://getbootstrap.com/docs/5.0/assets/brand/bootstrap-social.png" >
2017-08-11 06:04:59 +02:00
< meta property = "og:image:type" content = "image/png" >
2020-12-07 17:28:07 +01:00
< meta property = "og:image:width" content = "1000" >
< meta property = "og:image:height" content = "500" >
2017-08-11 06:04:59 +02:00
< script >
2018-07-12 18:39:25 +02:00
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
2017-08-11 06:04:59 +02:00
ga('create', 'UA-146052-10', 'getbootstrap.com');
2019-03-15 09:03:38 +01:00
ga('set', 'anonymizeIp', true);
2017-08-11 06:04:59 +02:00
ga('send', 'pageview');
< / script >
2019-02-11 20:34:57 +01:00
< script async src = "https://www.google-analytics.com/analytics.js" > < / script >
2017-08-11 06:04:59 +02:00
2021-05-13 18:28:44 +02:00
2017-08-11 06:04:59 +02:00
< / head >
2017-10-19 21:22:00 +02:00
< body >
2021-02-10 17:22:23 +01:00
< div class = "skippy visually-hidden-focusable overflow-hidden" >
2020-08-04 18:36:55 +02:00
< div class = "container-xl" >
2021-02-10 17:22:23 +01:00
< a class = "d-inline-flex p-2 m-1" href = "#content" > Skip to main content< / a >
2021-05-19 22:15:58 +02:00
2020-12-07 17:28:07 +01:00
< / div >
2020-08-04 18:36:55 +02:00
< / div >
2018-04-09 18:02:59 +02:00
2017-08-11 06:04:59 +02:00
2020-12-07 17:28:07 +01:00
< header class = "navbar navbar-expand-md navbar-dark bd-navbar" >
< nav class = "container-xxl flex-wrap flex-md-nowrap" aria-label = "Main navigation" >
< a class = "navbar-brand p-0 me-2" href = "/" aria-label = "Bootstrap" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "40" height = "32" class = "d-block my-1" viewBox = "0 0 118 94" role = "img" > < title > Bootstrap< / title > < path fill-rule = "evenodd" clip-rule = "evenodd" d = "M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z" fill = "currentColor" / > < / svg >
< / a >
< button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#bdNavbar" aria-controls = "bdNavbar" aria-expanded = "false" aria-label = "Toggle navigation" >
2021-02-10 17:22:23 +01:00
< svg xmlns = "http://www.w3.org/2000/svg" width = "32" height = "32" class = "bi" fill = "currentColor" viewBox = "0 0 16 16" >
< path fill-rule = "evenodd" d = "M2.5 11.5A.5.5 0 0 1 3 11h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 3h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z" / >
< / svg >
2020-12-07 17:28:07 +01:00
< / button >
< div class = "collapse navbar-collapse" id = "bdNavbar" >
< ul class = "navbar-nav flex-row flex-wrap bd-navbar-nav pt-2 py-md-0" >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2 active" aria-current = "page" href = "/" onclick = "ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');" > Home< / a >
< / li >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2" href = "/docs/5.0/getting-started/introduction/" onclick = "ga('send', 'event', 'Navbar', 'Community links', 'Docs');" > Docs< / a >
< / li >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2" href = "/docs/5.0/examples/" onclick = "ga('send', 'event', 'Navbar', 'Community links', 'Examples');" > Examples< / a >
< / li >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2" href = "https://icons.getbootstrap.com/" onclick = "ga('send', 'event', 'Navbar', 'Community links', 'Icons');" target = "_blank" rel = "noopener" > Icons< / a >
< / li >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2" href = "https://themes.getbootstrap.com/" onclick = "ga('send', 'event', 'Navbar', 'Community links', 'Themes');" target = "_blank" rel = "noopener" > Themes< / a >
< / li >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2" href = "https://blog.getbootstrap.com/" onclick = "ga('send', 'event', 'Navbar', 'Community links', 'Blog');" target = "_blank" rel = "noopener" > Blog< / a >
< / li >
< / ul >
< hr class = "d-md-none text-white-50" >
< ul class = "navbar-nav flex-row flex-wrap ms-md-auto" >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2" href = "https://github.com/twbs" target = "_blank" rel = "noopener" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "36" height = "36" class = "navbar-nav-svg d-inline-block align-text-top" viewBox = "0 0 512 499.36" role = "img" > < title > GitHub< / title > < path fill = "currentColor" fill-rule = "evenodd" d = "M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z" / > < / svg >
< small class = "d-md-none ms-2" > GitHub< / small >
< / a >
< / li >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2" href = "https://twitter.com/getbootstrap" target = "_blank" rel = "noopener" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "36" height = "36" class = "navbar-nav-svg d-inline-block align-text-top" viewBox = "0 0 512 416.32" role = "img" > < title > Twitter< / title > < path fill = "currentColor" d = "M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92" / > < / svg >
< small class = "d-md-none ms-2" > Twitter< / small >
< / a >
< / li >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2" href = "https://bootstrap-slack.herokuapp.com/" target = "_blank" rel = "noopener" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "36" height = "36" class = "navbar-nav-svg d-inline-block align-text-top" viewBox = "0 0 512 512" role = "img" > < title > Slack< / title > < path fill = "currentColor" d = "M210.787 234.832l68.31-22.883 22.1 65.977-68.309 22.882z" / > < path fill = "currentColor" d = "M490.54 185.6C437.7 9.59 361.6-31.34 185.6 21.46S-31.3 150.4 21.46 326.4 150.4 543.3 326.4 490.54 543.34 361.6 490.54 185.6zM401.7 299.8l-33.15 11.05 11.46 34.38c4.5 13.92-2.87 29.06-16.78 33.56-2.87.82-6.14 1.64-9 1.23a27.32 27.32 0 0 1-24.56-18l-11.46-34.38-68.36 22.92 11.46 34.38c4.5 13.92-2.87 29.06-16.78 33.56-2.87.82-6.14 1.64-9 1.23a27.32 27.32 0 0 1-24.56-18l-11.46-34.43-33.15 11.05c-2.87.82-6.14 1.64-9 1.23a27.32 27.32 0 0 1-24.56-18c-4.5-13.92 2.87-29.06 16.78-33.56l33.12-11.03-22.1-65.9-33.15 11.05c-2.87.82-6.14 1.64-9 1.23a27.32 27.32 0 0 1-24.56-18c-4.48-13.93 2.89-29.07 16.81-33.58l33.15-11.05-11.46-34.38c-4.5-13.92 2.87-29.06 16.78-33.56s29.06 2.87 33.56 16.78l11.46 34.38 68.36-22.92-11.46-34.38c-4.5-13.92 2.87-29.06 16.78-33.56s29.06 2.87 33.56 16.78l11.47 34.42 33.15-11.05c13.92-4.5 29.06 2.87 33.56 16.78s-2.87 29.06-16.78 33.56L329.7 194.6l22.1 65.9 33.15-11.05c13.92-4.5 29.06 2.87 33.56 16.78s-2.88 29.07-16.81 33.57z" / > < / svg >
< small class = "d-md-none ms-2" > Slack< / small >
< / a >
< / li >
< li class = "nav-item col-6 col-md-auto" >
< a class = "nav-link p-2" href = "https://opencollective.com/bootstrap" target = "_blank" rel = "noopener" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "36" height = "36" fill = "currentColor" fill-rule = "evenodd" class = "navbar-nav-svg d-inline-block align-text-top" viewBox = "0 0 40 41" role = "img" > < title > Open Collective< / title > < path fill-opacity = ".4" d = "M32.8 21c0 2.4-.8 4.9-2 6.9l5.1 5.1c2.5-3.4 4.1-7.6 4.1-12 0-4.6-1.6-8.8-4-12.2L30.7 14c1.2 2 2 4.3 2 7z" / > < path d = "M20 33.7a12.8 12.8 0 0 1 0-25.6c2.6 0 5 .7 7 2.1L32 5a20 20 0 1 0 .1 31.9l-5-5.2a13 13 0 0 1-7 2z" / > < / svg >
< small class = "d-md-none ms-2" > Open Collective< / small >
< / a >
< / li >
< / ul >
< a class = "btn btn-bd-download d-lg-inline-block my-2 my-md-0 ms-md-3" href = "/docs/5.0/getting-started/download/" > Download< / a >
< / div >
< / nav >
2017-08-11 06:04:59 +02:00
< / header >
2021-05-19 22:15:58 +02:00
2020-12-07 17:28:07 +01:00
< main >
< div class = "bd-masthead mb-3" id = "content" >
< div class = "container px-4 px-md-3" >
< div class = "row align-items-lg-center" >
< div class = "col-8 mx-auto col-md-4 order-md-2 col-lg-5" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "600" height = "533" class = "img-fluid mb-3 mb-md-0" role = "img" viewBox = "0 0 900 800" > < title > Bootstrap< / title > < defs > < filter id = "filter0_d" width = "704" height = "623.928" x = "98" y = "96" color-interpolation-filters = "sRGB" filterUnits = "userSpaceOnUse" > < feFlood flood-opacity = "0" result = "BackgroundImageFix" / > < feColorMatrix in = "SourceAlpha" values = "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" / > < feOffset dy = "8" / > < feGaussianBlur stdDeviation = "16" / > < feColorMatrix values = "0 0 0 0 0.423529 0 0 0 0 0.0666667 0 0 0 0 0.956863 0 0 0 0.25 0" / > < feBlend in2 = "BackgroundImageFix" result = "effect1_dropShadow" / > < feBlend in = "SourceGraphic" in2 = "effect1_dropShadow" result = "shape" / > < / filter > < filter id = "filter1_d" width = "704" height = "623.928" x = "98" y = "96" color-interpolation-filters = "sRGB" filterUnits = "userSpaceOnUse" > < feFlood flood-opacity = "0" result = "BackgroundImageFix" / > < feColorMatrix in = "SourceAlpha" values = "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" / > < feOffset dy = "8" / > < feGaussianBlur stdDeviation = "16" / > < feColorMatrix values = "0 0 0 0 0.423529 0 0 0 0 0.0666667 0 0 0 0 0.956863 0 0 0 0.25 0" / > < feBlend in2 = "BackgroundImageFix" result = "effect1_dropShadow" / > < feBlend in = "SourceGraphic" in2 = "effect1_dropShadow" result = "shape" / > < / filter > < filter id = "filter2_d" width = "260.144" height = "302.767" x = "327.804" y = "252.368" color-interpolation-filters = "sRGB" filterUnits = "userSpaceOnUse" > < feFlood flood-opacity = "0" result = "BackgroundImageFix" / > < feColorMatrix in = "SourceAlpha" values = "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" / > < feOffset dy = "4" / > < feGaussianBlur stdDeviation = "8" / > < feColorMatrix values = "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" / > < feBlend in2 = "BackgroundImageFix" result = "effect1_dropShadow" / > < feBlend in = "SourceGraphic" in2 = "effect1_dropShadow" result = "shape" / > < / filter > < filter id = "filter3_d" width = "261.369" height = "303.992" x = "327.192" y = "251.755" color-interpolation-filters = "sRGB" filterUnits = "userSpaceOnUse" > < feFlood flood-opacity = "0" result = "BackgroundImageFix" / > < feColorMatrix in = "SourceAlpha" values = "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" / > < feOffset dy = "4" / > < feGaussianBlur stdDeviation = "8" / > < feColorMatrix values = "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" / > < feBlend in2 = "BackgroundImageFix" result = "effect1_dropShadow" / > < feBlend in = "SourceGraphic" in2 = "effect1_dropShadow" result = "shape" / > < / filter > < linearGradient id = "paint1_linear" x1 = "211.405" x2 = "769.059" y1 = "251.5" y2 = "494.972" gradientUnits = "userSpaceOnUse" > < stop offset = "0" stop-color = "#9013fe" / > < stop offset = ".995" stop-color = "#6610f2" / > < / linearGradient > < linearGradient id = "paint2_linear" x1 = "363.642" x2 = "515.493" y1 = "319.901" y2 = "465.49" gradientUnits = "userSpaceOnUse" > < stop offset = "0" stop-color = "#fff" / > < stop offset = "1" stop-color = "#f1e5fc" / > < / linearGradient > < radialGradient id = "paint0_radial" cx = "0" cy = "0" r = "1" gradientTransform = "rotate(90 25 425) scale(400)" gradientUnits = "userSpaceOnUse" > < stop offset = "0" stop-color = "#ced4da" / > < stop offset = "1" stop-color = "#ced4da" stop-opacity = "0" / > < / radialGradient > < clipPath id = "clip0" > < path fill = "#fff" d = "M0 0h900v800H0z" / > < / clipPath > < / defs > < g clip-path = "url(#clip0)" > < circle cx = "450" cy = "400" r = "400" fill = "url(#paint0_radial)" / > < path fill = "#ffc107" fill-rule = "evenodd" d = "M138 539h98v46h-98v-46zm100-2v50H136v-50h102z" clip-rule = "evenodd" / > < path fill = "#ffc107" fill-rule = "evenodd" d = "M238 539h89a7 7 0 017 7v32a7 7 0 01-7 7h-89v-46zm89-2a9 9 0 019 9v32a9 9 0 01-9 9h-91v-50h91zm-281.816 0c-5.072 0-9.184 4.029-9.184 9v32c0 4.971 4.112 9 9.184 9H136v-50H45.184zM60 558a4 4 0 000 8h52a4 4 0 000-8H60z" clip-rule = "evenodd" / > < path fill = "#007bff" fill-rule = "evenodd" d = "M115 400a8 8 0 100-16 8 8 0 000 16zm0 2c5 . 523 0 10-4 . 477 10-10s-4 . 477-10-10-10-10 4 . 477-10 10 4 . 477 10 10 10zm-30 0c5 . 523 0 10-4 . 477 10-10s-4 . 477-10-10-10-10 4 . 477-10 10 4 . 477 10 10 10zm0-5a5 5 0 100-10 5 5 0 000 10zm53-15a4 4 0 00-4 4v12a4 4 0 004 4h12a4 4 0 004-4v-12a4 4 0 00-4-4h-12zm11 . 676 5 . 324a1 . 103 1 . 103 0 00-1 . 591 . 033l-5 . 115 6 . 517-3 . 084-3 . 084a1 . 105 1 . 105 0 00-1 . 562 1 . 563l3 . 898 3 . 898a1 . 103 1 . 103 0 001 . 589- . 03l5 . 881-7 . 351a1 . 103 1 . 103 0 00- . 016-1 .
2017-08-11 06:04:59 +02:00
< / div >
2020-12-07 17:28:07 +01:00
< div class = "col-md-8 order-md-1 col-lg-7 text-center text-md-start" >
2020-05-12 19:50:21 +02:00
< h1 class = "mb-3" > Build fast, responsive sites with Bootstrap< / h1 >
2017-08-11 06:04:59 +02:00
< p class = "lead mb-4" >
2020-05-12 19:50:21 +02:00
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.
2017-08-11 06:04:59 +02:00
< / p >
2020-12-07 17:28:07 +01:00
2020-05-12 19:50:21 +02:00
< div class = "d-flex flex-column flex-md-row" >
2020-12-07 17:28:07 +01:00
< a href = "/docs/5.0/getting-started/introduction/" class = "btn btn-lg btn-bd-primary mb-3 me-md-3" onclick = "ga('send', 'event', 'Jumbotron actions', 'Get started', 'Get started');" > Get started< / a >
2021-05-13 18:28:44 +02:00
< a href = "/docs/5.0/getting-started/download/" class = "btn btn-lg btn-outline-secondary mb-3" onclick = "ga('send', 'event', 'Jumbotron actions', 'Download', 'Download 5.0.1');" > Download< / a >
2017-06-14 04:43:02 +02:00
< / div >
2017-08-11 06:04:59 +02:00
< p class = "text-muted mb-0" >
2021-05-13 18:28:44 +02:00
Currently < strong > v5.0.1< / strong >
2021-02-10 17:22:23 +01:00
< span class = "px-1" > · < / span >
< a href = "https://getbootstrap.com/docs/4.6/getting-started/introduction/" class = "link-secondary" > v4.6.x docs< / a >
2020-12-07 17:28:07 +01:00
< span class = "px-1" > · < / span >
2021-02-10 17:22:23 +01:00
< a href = "/docs/versions/" class = "link-secondary" > All releases< / a >
2017-08-11 06:04:59 +02:00
< / p >
2017-06-14 04:43:02 +02:00
< / div >
< / div >
2018-07-12 18:39:25 +02:00
< script async src = "https://cdn.carbonads.com/carbon.js?serve=CKYIKKJL&placement=getbootstrapcom" id = "_carbonads_js" > < / script >
2017-08-11 06:04:59 +02:00
2017-06-14 04:43:02 +02:00
< / div >
2020-12-07 17:28:07 +01:00
< / div >
2017-08-11 06:04:59 +02:00
2020-12-07 17:28:07 +01:00
< div class = "container masthead-followup px-4 px-md-3" >
< section class = "row mb-5 pb-md-4 align-items-center" >
< div class = "col-md-5" >
< div class = "masthead-followup-icon d-inline-block mb-2 text-white bg-success" >
2021-02-10 17:22:23 +01:00
< svg xmlns = "http://www.w3.org/2000/svg" width = "32" height = "32" fill = "currentColor" focusable = "false" viewBox = "0 0 16 16" >
2020-05-12 19:50:21 +02:00
< path fill-rule = "evenodd" d = "M5.854 4.146a.5.5 0 010 .708L2.707 8l3.147 3.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0zm4.292 0a.5.5 0 000 .708L13.293 8l-3.147 3.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 00-.708 0z" clip-rule = "evenodd" / >
< / svg >
2017-08-11 06:04:59 +02:00
2020-05-12 19:50:21 +02:00
< / div >
2020-12-07 17:28:07 +01:00
< h2 class = "display-5 fw-normal" > Installation< / h2 >
< p class = "lead fw-normal" >
Install Bootstrap’ s source Sass and JavaScript files via npm, Composer, or Meteor.
< / p >
< p > Package managed installs don’ t include documentation or our full build scripts. You can also < a href = "https://github.com/twbs/bootstrap-npm-starter" > use our npm template repo< / a > to quickly generate a Bootstrap project via npm.< / p >
< a class = "btn btn-lg btn-outline-primary mb-3" href = "/docs/5.0/getting-started/download/" > Read installation docs< / a >
2020-05-12 19:50:21 +02:00
< / div >
2020-12-07 17:28:07 +01:00
< div class = "col-md-7 ps-md-5" >
2021-05-05 21:46:33 +02:00
< div class = "highlight" > < pre class = "chroma" > < code class = "language-sh" data-lang = "sh" > npm install bootstrap< / code > < / pre > < / div >
2021-05-13 18:28:44 +02:00
< div class = "highlight" > < pre class = "chroma" > < code class = "language-sh" data-lang = "sh" > gem install bootstrap -v 5.0.1< / code > < / pre > < / div >
2020-12-07 17:28:07 +01:00
< / div >
< / section >
2017-08-11 06:04:59 +02:00
2020-12-07 17:28:07 +01:00
< section class = "row mb-5 pb-md-4 align-items-center" >
< div class = "col-md-5" >
< div class = "masthead-followup-icon d-inline-block mb-2 text-white bg-primary" >
2021-02-10 17:22:23 +01:00
< svg xmlns = "http://www.w3.org/2000/svg" width = "32" height = "32" fill = "currentColor" focusable = "false" viewBox = "0 0 16 16" >
2020-05-12 19:50:21 +02:00
< path fill-rule = "evenodd" d = "M3.5 13a3.5 3.5 0 11.59-6.95 5.002 5.002 0 119.804 1.98A2.5 2.5 0 0113.5 13h-10z" clip-rule = "evenodd" / >
< / svg >
2017-08-11 06:37:33 +02:00
2020-05-12 19:50:21 +02:00
< / div >
2020-12-07 17:28:07 +01:00
< h2 class = "display-5 fw-normal" > jsDelivr< / h2 >
< p class = "lead fw-normal" >
When you only need to include Bootstrap’ s compiled CSS or JS, you can use < a href = "https://www.jsdelivr.com/" > jsDelivr< / a > .
< / p >
< p >
See it in action with our simple < a href = "/docs/5.0/getting-started/introduction/#starter-template" > starter template< / a > , or < a href = "/docs/5.0/examples/" > browse the examples< / a > to jumpstart your next project. You can also choose to include Popper and our JS < a href = "/docs/5.0/getting-started/introduction/#separate" > separately< / a > .
< / p >
< a class = "btn btn-lg btn-outline-primary mb-3" href = "/docs/5.0/getting-started/introduction/" > Explore the docs< / a >
< / div >
< div class = "col-md-7 ps-md-5" >
< div class = "highlight" > < pre class = "chroma" > < code class = "language-html" data-lang = "html" > < span class = "c" > < !-- CSS only --> < / span >
2021-05-13 18:28:44 +02:00
< span class = "p" > < < / span > < span class = "nt" > link< / span > < span class = "na" > href< / span > < span class = "o" > =< / span > < span class = "s" > " https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" < / span > < span class = "na" > rel< / span > < span class = "o" > =< / span > < span class = "s" > " stylesheet" < / span > < span class = "na" > integrity< / span > < span class = "o" > =< / span > < span class = "s" > " sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" < / span > < span class = "na" > crossorigin< / span > < span class = "o" > =< / span > < span class = "s" > " anonymous" < / span > < span class = "p" > > < / span >
2020-12-07 17:28:07 +01:00
< / code > < / pre > < / div >
< div class = "highlight" > < pre class = "chroma" > < code class = "language-html" data-lang = "html" > < span class = "c" > < !-- JavaScript Bundle with Popper --> < / span >
2021-05-13 18:28:44 +02:00
< span class = "p" > < < / span > < span class = "nt" > script< / span > < span class = "na" > src< / span > < span class = "o" > =< / span > < span class = "s" > " https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" < / span > < span class = "na" > integrity< / span > < span class = "o" > =< / span > < span class = "s" > " sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" < / span > < span class = "na" > crossorigin< / span > < span class = "o" > =< / span > < span class = "s" > " anonymous" < / span > < span class = "p" > > < /< / span > < span class = "nt" > script< / span > < span class = "p" > > < / span >
2020-12-07 17:28:07 +01:00
< / code > < / pre > < / div >
2020-05-12 19:50:21 +02:00
< / div >
2020-12-07 17:28:07 +01:00
< / section >
2017-08-11 06:04:59 +02:00
2020-12-07 17:28:07 +01:00
< section class = "row mb-5 pb-md-4 align-items-center" >
< div class = "col-md-5" >
< div class = "masthead-followup-icon d-inline-block mb-2 text-white bd-bg-purple-bright" >
2021-02-10 17:22:23 +01:00
< svg xmlns = "http://www.w3.org/2000/svg" width = "32" height = "32" fill = "currentColor" focusable = "false" viewBox = "0 0 16 16" >
2020-05-12 19:50:21 +02:00
< path d = "M0 6a6 6 0 1112 0A6 6 0 010 6z" / >
< path d = "M12.93 5h1.57a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-1.57a6.953 6.953 0 01-1-.22v1.79A1.5 1.5 0 005.5 16h9a1.5 1.5 0 001.5-1.5v-9A1.5 1.5 0 0014.5 4h-1.79c.097.324.17.658.22 1z" / >
< / svg >
< / div >
2020-12-07 17:28:07 +01:00
< h2 class = "display-5 fw-normal" > Bootstrap Icons< / h2 >
< p class = "lead fw-normal" >
For the first time ever, Bootstrap has its own open source SVG icon library, designed to work best with our components and documentation.
< / p >
< p >
Bootstrap Icons are designed to work best with Bootstrap components, but they’ ll work in any project. They’ re SVGs, so they scale quickly and easily, can be implemented in several ways, and can be styled with CSS.
< / p >
< a href = "https://icons.getbootstrap.com/" class = "btn btn-lg btn-outline-primary mb-3" > Get Bootstrap Icons< / a >
2020-05-12 19:50:21 +02:00
< / div >
2020-12-07 17:28:07 +01:00
< div class = "col-md-7 ps-md-5" >
< img class = "img-fluid mt-3 mx-auto" srcset = "/docs/5.0/assets/img/bootstrap-icons.png,
/docs/5.0/assets/img/bootstrap-icons@2x.png 2x"
src="/docs/5.0/assets/img/bootstrap-icons.png"
alt="Bootstrap Icons" width="700" height="425" loading="lazy">
< / div >
< / section >
2020-05-12 19:50:21 +02:00
2020-12-07 17:28:07 +01:00
< section class = "row mb-5 pb-md-4 align-items-center" >
< div class = "col-md-5" >
< div class = "masthead-followup-icon d-inline-block mb-2 text-white bg-danger" >
2021-02-10 17:22:23 +01:00
< svg xmlns = "http://www.w3.org/2000/svg" width = "32" height = "32" fill = "currentColor" focusable = "false" viewBox = "0 0 16 16" >
2020-05-12 19:50:21 +02:00
< path fill-rule = "evenodd" d = "M8 16a6 6 0 006-6c0-1.655-1.122-2.904-2.432-4.362C10.254 4.176 8.75 2.503 8 0c0 0-6 5.686-6 10a6 6 0 006 6zM6.646 4.646c-.376.377-1.272 1.489-2.093 3.13l.894.448c.78-1.559 1.616-2.58 1.907-2.87l-.708-.708z" clip-rule = "evenodd" / >
< / svg >
< / div >
2020-12-07 17:28:07 +01:00
< h2 class = "display-5 fw-normal" > Official Themes< / h2 >
< p class = "lead fw-normal" >
Take Bootstrap to the next level with premium themes from the < a href = "https://themes.getbootstrap.com/" > official Bootstrap Themes marketplace< / a > .
< / p >
< p >
Themes are built on Bootstrap as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools.
< / p >
< a href = "https://themes.getbootstrap.com/" class = "btn btn-lg btn-outline-primary mb-3" > Browse themes< / a >
2020-05-12 19:50:21 +02:00
< / div >
2020-12-07 17:28:07 +01:00
< div class = "col-md-7 ps-md-5" >
< img class = "img-fluid mt-3 mx-auto" srcset = "/docs/5.0/assets/img/bootstrap-themes.png,
/docs/5.0/assets/img/bootstrap-themes@2x.png 2x"
src="/docs/5.0/assets/img/bootstrap-themes.png"
alt="Bootstrap Themes" width="700" height="500" loading="lazy">
< / div >
< / section >
2017-08-11 06:04:59 +02:00
< / div >
2020-12-07 17:28:07 +01:00
< / main >
2021-05-19 22:15:58 +02:00
2017-08-11 06:04:59 +02:00
2020-12-07 17:28:07 +01:00
2021-05-05 21:46:33 +02:00
< footer class = "bd-footer py-5 mt-5 bg-light" >
< div class = "container py-5" >
< div class = "row" >
< div class = "col-lg-3 mb-3" >
< a class = "d-inline-flex align-items-center mb-2 link-dark text-decoration-none" href = "/" aria-label = "Bootstrap" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "40" height = "32" class = "d-block me-2" viewBox = "0 0 118 94" role = "img" > < title > Bootstrap< / title > < path fill-rule = "evenodd" clip-rule = "evenodd" d = "M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z" fill = "currentColor" / > < / svg >
< span class = "fs-5" > Bootstrap< / span >
< / a >
< ul class = "list-unstyled small text-muted" >
< li class = "mb-2" > Designed and built with all the love in the world by the < a href = "/docs/5.0/about/team/" > Bootstrap team< / a > with the help of < a href = "https://github.com/twbs/bootstrap/graphs/contributors" > our contributors< / a > .< / li >
< li class = "mb-2" > Code licensed < a href = "https://github.com/twbs/bootstrap/blob/main/LICENSE" target = "_blank" rel = "license noopener" > MIT< / a > , docs < a href = "https://creativecommons.org/licenses/by/3.0/" target = "_blank" rel = "license noopener" > CC BY 3.0< / a > .< / li >
2021-05-13 18:28:44 +02:00
< li class = "mb-2" > Currently v5.0.1.< / li >
2021-05-05 21:46:33 +02:00
< / ul >
< / div >
< div class = "col-6 col-lg-2 offset-lg-1 mb-3" >
< h5 > Links< / h5 >
< ul class = "list-unstyled" >
< li class = "mb-2" > < a href = "/" > Home< / a > < / li >
< li class = "mb-2" > < a href = "/docs/5.0/" > Docs< / a > < / li >
< li class = "mb-2" > < a href = "/docs/5.0/examples/" > Examples< / a > < / li >
< li class = "mb-2" > < a href = "https://opencollective.com/bootstrap" > Themes< / a > < / li >
< li class = "mb-2" > < a href = "https://blog.getbootstrap.com/" > Blog< / a > < / li >
< / ul >
< / div >
< div class = "col-6 col-lg-2 mb-3" >
< h5 > Guides< / h5 >
< ul class = "list-unstyled" >
< li class = "mb-2" > < a href = "/docs/5.0/getting-started/" > Getting started< / a > < / li >
< li class = "mb-2" > < a href = "/docs/5.0/examples/starter-template/" > Starter template< / a > < / li >
< li class = "mb-2" > < a href = "/docs/5.0/getting-started/webpack/" > Webpack< / a > < / li >
< li class = "mb-2" > < a href = "/docs/5.0/getting-started/parcel/" > Parcel< / a > < / li >
< / ul >
< / div >
< div class = "col-6 col-lg-2 mb-3" >
< h5 > Projects< / h5 >
< ul class = "list-unstyled" >
< li class = "mb-2" > < a href = "https://github.com/twbs/bootstrap" > Bootstrap 5< / a > < / li >
< li class = "mb-2" > < a href = "https://github.com/twbs/bootstrap/tree/v4-dev" > Bootstrap 4< / a > < / li >
< li class = "mb-2" > < a href = "https://github.com/twbs/icons" > Icons< / a > < / li >
< li class = "mb-2" > < a href = "https://github.com/twbs/rfs" > RFS< / a > < / li >
< li class = "mb-2" > < a href = "https://github.com/twbs/bootstrap-npm-starter" > npm starter< / a > < / li >
< / ul >
< / div >
< div class = "col-6 col-lg-2 mb-3" >
< h5 > Community< / h5 >
< ul class = "list-unstyled" >
< li class = "mb-2" > < a href = "https://github.com/twbs/bootstrap/issues" > Issues< / a > < / li >
< li class = "mb-2" > < a href = "https://github.com/twbs/bootstrap/discussions" > Discussions< / a > < / li >
< li class = "mb-2" > < a href = "https://github.com/sponsors/twbs" > Corporate sponsors< / a > < / li >
< li class = "mb-2" > < a href = "https://opencollective.com/bootstrap" > Open Collective< / a > < / li >
< li class = "mb-2" > < a href = "https://bootstrap-slack.herokuapp.com/" > Slack< / a > < / li >
< li class = "mb-2" > < a href = "https://stackoverflow.com/questions/tagged/bootstrap-5" > Stack Overflow< / a > < / li >
< / ul >
< / div >
< / div >
2017-08-11 06:04:59 +02:00
< / div >
< / footer >
2021-05-13 18:28:44 +02:00
< script src = "/docs/5.0/dist/js/bootstrap.bundle.min.js" integrity = "sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin = "anonymous" > < / script >
2020-12-07 17:28:07 +01:00
< script src = "/docs/5.0/assets/js/docs.min.js" > < / script >
2021-05-19 22:15:58 +02:00
2017-08-11 06:04:59 +02:00
< / body >
< / html >