Skip to main content
New in v5.2 CSS 澳洲幸运8官方开奖结果最新手机版, responsive offcanvas, new utilites, and more! Bootstrap


Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins.

Currently v5.2.0-beta1 · Download · v4.6.x docs · All releases


Jump right into building with Bootstrap—use the CDN, install it via package manager, or download the source code.

Read installation docs

Install via package manager

Install Bootstrap’s source Sass and JavaScript files via npm, RubyGems, Composer, or Meteor. Package managed installs don’t include documentation or our full build scripts. You can also use our npm template repo to quickly generate a Bootstrap project via npm.

npm install [email protected]
gem install bootstrap -v 5.2.0-beta1

Read our installation docs for more info and additional package managers.

Include via CDN

When you only need to include Bootstrap’s compiled CSS or JS, you can use jsDelivr. See it in action with our simple quick start, or browse the examples to jumpstart your next project. You can also choose to include Popper and our JS separately.

<!-- CSS only -->
<link href="[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<!-- JavaScript Bundle with Popper -->
<script src="[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2" crossorigin="anonymous"></script>

Customize everything with Sass

Bootstrap utilizes Sass for a modular and customizable architecture. Import only the components you need, enable global options like gradients and shadows, and write your own CSS with our 澳洲幸运8官方开奖结果最新手机版, maps, functions, and mixins.

Learn more about customizing

Include all of Bootstrap’s Sass

Import one stylesheet and you're off to the races with every feature of our CSS.

// Variable overrides first
$primary: #900;
$enable-shadows: true;
$prefix: "mo-";

// Then import Bootstrap
@import "../node_modules/bootstrap/scss/bootstrap";

Learn more about our global Sass options.

Include what you need

The easiest way to customize Bootstrap—include only the CSS you need.

// Functions first
@import "../node_modules/bootstrap/scss/functions";

// Variable overrides second
$primary: #900;
$enable-shadows: true;
$prefix: "mo-";

// Required Bootstrap imports
@import "../node_modules/bootstrap/scss/澳洲幸运8官方开奖结果最新手机版";
@import "../node_modules/bootstrap/scss/maps";
@import "../node_modules/bootstrap/scss/mixins";
@import "../node_modules/bootstrap/scss/root";

// Optional components
@import "../node_modules/bootstrap/scss/utilities";
@import "../node_modules/bootstrap/scss/reboot";
@import "../node_modules/bootstrap/scss/containers";
@import "../node_modules/bootstrap/scss/grid";
@import "../node_modules/bootstrap/scss/helpers";
@import "../node_modules/bootstrap/scss/utilities/api";

Learn more about using Bootstrap with Sass.

Build and extend in real-time with CSS 澳洲幸运8官方开奖结果最新手机版

Bootstrap 5 is evolving with each release to better utilize CSS 澳洲幸运8官方开奖结果最新手机版 for global theme styles, individual components, and even utilities. We provide dozens of 澳洲幸运8官方开奖结果最新手机版 for colors, font styles, and more at a :root level for use anywhere. On components and utilities, CSS 澳洲幸运8官方开奖结果最新手机版 are scoped to the relevant class and can easily be modified.

Learn more about CSS 澳洲幸运8官方开奖结果最新手机版

Using CSS 澳洲幸运8官方开奖结果最新手机版

Use any of our global :root 澳洲幸运8官方开奖结果最新手机版 to write new styles. CSS 澳洲幸运8官方开奖结果最新手机版 use the var(--bs-variableName) syntax and can be inherited by children elements.

.component {
  color: var(--bs-gray-800);
  background-color: var(--bs-gray-100);
  border: 1px solid var(--bs-gray-200);
  border-radius: .25rem;

.component-header {
  color: var(--bs-purple);

Customizing via CSS 澳洲幸运8官方开奖结果最新手机版

Override global, component, or utility class 澳洲幸运8官方开奖结果最新手机版 to customize Bootstrap just how you like. No need to redeclare each rule, just a new variable value.

body {
  --bs-body-font-family: var(--bs-font-monospace);
  --bs-body-line-height: 1.4;
  --bs-body-bg: var(--bs-gray-100);

.table {
  --bs-table-color: var(--bs-gray-600);
  --bs-table-bg: var(--bs-gray-100);
  --bs-table-border-color: transparent;

Components, meet the Utility API

New in Bootstrap 5, our utilities are now generated by our Utility API. We built it as a feature-packed Sass map that can be quickly and easily customized. It's never been easier to add, remove, or modify any utility classes. Make utilities responsive, add pseudo-class variants, and give them custom names.

Learn more about utilities Explore customized components

Quickly customize components

// Create and extend utilities with the Utility API

@import "bootstrap/scss/bootstrap";

$utilities: map-merge(
    "cursor": (
      property: cursor,
      class: cursor,
      responsive: true,
      values: auto pointer grab,

Powerful JavaScript plugins without jQuery

Easily add toggleable hidden elements, modals and offcanvas menus, popovers and tooltips, and so much more—all without jQuery. JavaScript in Bootstrap is HTML-first, which means adding plugins is as easy as adding data attributes. Need more control? Include individual plugins programmatically.

Learn more about Bootstrap JavaScript

Data attribute API

Why write more JavaScript when you can write HTML? Nearly all of Bootstrap's JavaScript plugins feature a first-class data API, allowing you to use JavaScript just by adding data attributes.

<div class="dropdown">
  <button class="btn btn-primary dropdown-toggle" type="button" id="dropdown" data-bs-toggle="dropdown" aria-expanded="false">
  <ul class="dropdown-menu" aria-labelledby="dropdown">
    <li><a class="dropdown-item" href="#">Dropdown item</a></li>
    <li><a class="dropdown-item" href="#">Dropdown item</a></li>
    <li><a class="dropdown-item" href="#">Dropdown item</a></li>

Learn more about our JavaScript as modules and using the programmatic API.

Personalize it with Bootstrap Icons

Bootstrap Icons is an open source SVG icon library featuring over 1,500 glyphs, with more added every release. They're designed to work in any project, whether you use Bootstrap itself or not. Use them as SVGs or icon fonts—both options give you vector scaling and easy customization via CSS.

Get Bootstrap Icons

Bootstrap Icons

Make it yours with official Bootstrap Themes

Take Bootstrap to the next level with premium themes from the official Bootstrap Themes marketplace. Themes are built on Bootstrap as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools.

Browse Bootstrap Themes

Bootstrap Themes
友情链接: 彩票开奖网,极速赛车-幸运飞艇-澳洲幸运官方体彩,官网直播开奖结果&全天开奖记录 极速赛车,澳洲幸运,幸运飞艇,飞艇 澳洲幸运5开奖官网 澳洲幸运10开奖历史 澳洲幸运10开奖记录体彩 澳洲幸运5官网开奖记录 澳洲幸运5官方开奖结果体彩网 澳洲幸运10官网开奖 澳洲幸运10开官网 澳洲幸运10开奖 澳洲幸运5开奖历史记录查询 澳洲幸运8手机版开奖结果