This example is a quick exercise to illustrate how fixed to top navbar works. As you scroll, it will remain fixed to the top of your browser’s viewport.
Make any HTML element or Bootstrap component clickable by “stretching” a nested link via CSS. Cards have position: relative by default in Bootstrap, so in this case you can safely add the ...
Commonly asked questions about Bootstrap’s open source license. Bootstrap is released under the MIT license and is copyright 2026. Boiled down to smaller chunks, it can be described with the following ...
Visually hide an element while still allowing it to be exposed to assistive technologies (such as screen readers) with .visually-hidden. Use .visually-hidden-focusable to visually hide an element by ...
How it works Vertical rules are inspired by the <hr> element, allowing you to create vertical dividers in common layouts. They’re styled just like <hr> elements: They’re 1px wide They have min-height ...
Bootstrap’s default grid system represents the culmination of over a decade of CSS layout techniques, tried and tested by millions of people. But, it was also created without many of the modern CSS ...
Easily change the vertical alignment of inline, inline-block, inline-table, and table cell elements. Change the alignment of elements with the vertical-alignment utilities. Please note that ...
Quickly and responsively toggle the display value of components and more with our display utilities. Includes support for some of the more common values, as well as some extras for controlling display ...
For faster mobile-friendly and responsive development, Bootstrap includes dozens of utility classes for showing, hiding, aligning, and spacing content.
This text is quite long, and will be truncated once displayed. This text is quite long, and will be truncated once displayed.
This example is a quick exercise to illustrate how the top-aligned navbar works. As you scroll, this navbar remains in its original position and moves with the rest of the page.
Bootstrap is maintained by a small team of developers on GitHub. We’re actively looking to grow this team and would love to hear from you if you’re excited about CSS at scale, writing and maintaining ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results