Contents目录
Discover what’s included in Bootstrap, including our precompiled and source code flavors.了解Bootstrap中包含的内容,包括我们的预编译和源代码风格。
Precompiled Bootstrap预编译Bootstrap
Once downloaded, unzip the compressed folder and you’ll see something like this:下载后,解压缩压缩文件夹,您将看到如下内容:
bootstrap/
├── css/
│ ├── bootstrap-grid.css
│ ├── bootstrap-grid.css.map
│ ├── bootstrap-grid.min.css
│ ├── bootstrap-grid.min.css.map
│ ├── bootstrap-grid.rtl.css
│ ├── bootstrap-grid.rtl.css.map
│ ├── bootstrap-grid.rtl.min.css
│ ├── bootstrap-grid.rtl.min.css.map
│ ├── bootstrap-reboot.css
│ ├── bootstrap-reboot.css.map
│ ├── bootstrap-reboot.min.css
│ ├── bootstrap-reboot.min.css.map
│ ├── bootstrap-reboot.rtl.css
│ ├── bootstrap-reboot.rtl.css.map
│ ├── bootstrap-reboot.rtl.min.css
│ ├── bootstrap-reboot.rtl.min.css.map
│ ├── bootstrap-utilities.css
│ ├── bootstrap-utilities.css.map
│ ├── bootstrap-utilities.min.css
│ ├── bootstrap-utilities.min.css.map
│ ├── bootstrap-utilities.rtl.css
│ ├── bootstrap-utilities.rtl.css.map
│ ├── bootstrap-utilities.rtl.min.css
│ ├── bootstrap-utilities.rtl.min.css.map
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap.min.css.map
│ ├── bootstrap.rtl.css
│ ├── bootstrap.rtl.css.map
│ ├── bootstrap.rtl.min.css
│ └── bootstrap.rtl.min.css.map
└── js/
├── bootstrap.bundle.js
├── bootstrap.bundle.js.map
├── bootstrap.bundle.min.js
├── bootstrap.bundle.min.js.map
├── bootstrap.esm.js
├── bootstrap.esm.js.map
├── bootstrap.esm.min.js
├── bootstrap.esm.min.js.map
├── bootstrap.js
├── bootstrap.js.map
├── bootstrap.min.js
└── bootstrap.min.js.map
This is the most basic form of Bootstrap: precompiled files for quick drop-in usage in nearly any web project. 这是Bootstrap的最基本形式:预编译文件,用于在几乎任何web项目中快速插入使用。We provide compiled CSS and JS (我们提供已编译的CSS和JS(bootstrap.*
), as well as compiled and minified CSS and JS (bootstrap.min.*
). bootstrap.*
),以及已编译的和缩小的CSS和JS(bootstrap.min.*
)。source maps (源映射(bootstrap.*.map
) are available for use with certain browsers' developer tools. bootstrap.*.map
)可用于某些浏览器的开发工具。Bundled JS files (捆绑版JS文件(bootstrap.bundle.js
and minified bootstrap.bundle.min.js
) include Popper.bootstrap.bundle.js
和缩小的bootstrap.bundle.min.js
)包括Popper。
CSS filesCSS文件
Bootstrap includes a handful of options for including some or all of our compiled CSS.Bootstrap包括一些选项,用于包含部分或全部已编译的CSS。
bootstrap.css bootstrap.rtl.css bootstrap.min.css bootstrap.rtl.min.css |
Included | Included | Included | Included |
---|---|---|---|---|
bootstrap-grid.css bootstrap-grid.rtl.css bootstrap-grid.min.css bootstrap-grid.rtl.min.css |
Only grid system | — | — | Only flex utilities |
bootstrap-utilities.css bootstrap-utilities.rtl.css bootstrap-utilities.min.css bootstrap-utilities.rtl.min.css |
— | — | — | Included |
bootstrap-reboot.css bootstrap-reboot.rtl.css bootstrap-reboot.min.css bootstrap-reboot.rtl.min.css |
— | Only Reboot | — | — |
JS files文件夹
Similarly, we have options for including some or all of our compiled JavaScript.类似地,我们可以选择包含部分或全部已编译JavaScript。
JS files | Popper |
---|---|
bootstrap.bundle.js bootstrap.bundle.min.js |
Included |
bootstrap.js bootstrap.min.js |
— |
Bootstrap source codeBootstrap源代码
The Bootstrap source code download includes the precompiled CSS and JavaScript assets, along with source Sass, JavaScript, and documentation. Bootstrap源代码下载包括预编译的CSS和JavaScript资产,以及源Sass、JavaScript和文档。More specifically, it includes the following and more:更具体地说,它包括以下内容和更多内容:
bootstrap/
├── dist/
│ ├── css/
│ └── js/
├── site/
│ └──content/
│ └── docs/
│ └── 5.1/
│ └── examples/
├── js/
└── scss/
The scss/
and js/
are the source code for our CSS and JavaScript. scss/
和js/
是我们的CSS和JavaScript的源代码。The dist/
folder includes everything listed in the precompiled download section above. dist/
文件夹包括上面预编译下载部分中列出的所有内容。The site/docs/
folder includes the source code for our documentation, and examples/
of Bootstrap usage. site/docs/
文件夹包括我们文档的源代码,以及Bootstrap使用的示例。Beyond that, any other included file provides support for packages, license information, and development.除此之外,任何其他包含的文件都提供对包、许可证信息和开发的支持。