Skip to main content Skip to docs navigation

目录

了解 Bootstrap 中包含的内容,包括我们的编译版和源代码版本。

的东西

编译 Bootstrap

🌐 Compiled 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

这是 Bootstrap 最基本的形式:为几乎任何网页项目提供可快速使用的编译文件。我们提供编译后的 CSS 和 JS (bootstrap.*),以及编译和压缩后的 CSS 和 JS (bootstrap.min.*)。源映射 (bootstrap.*.map) 可用于某些浏览器的开发者工具。打包的 JS 文件 (bootstrap.bundle.js 和压缩的 bootstrap.bundle.min.js) 包含 Popper

🌐 This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*). Source maps (bootstrap.*.map) are available for use with certain browsers’ developer tools. Bundled JS files (bootstrap.bundle.js and minified bootstrap.bundle.min.js) include Popper.

CSS 文件

🌐 CSS files

Bootstrap 包含一些选项,用于包含部分或全部我们编译的 CSS。

🌐 Bootstrap includes a handful of options for including some or all of our compiled CSS.

CSS 文件布局内容组件工具
bootstrap.css
bootstrap.min.css
bootstrap.rtl.css
bootstrap.rtl.min.css
包含包含包含包含
bootstrap-grid.css
bootstrap-grid.rtl.css
bootstrap-grid.min.css
bootstrap-grid.rtl.min.css
仅网格系统仅 flex 工具
bootstrap-utilities.css
bootstrap-utilities.rtl.css
bootstrap-utilities.min.css
bootstrap-utilities.rtl.min.css
包含
bootstrap-reboot.css
bootstrap-reboot.rtl.css
bootstrap-reboot.min.css
bootstrap-reboot.rtl.min.css
仅重置样式

JS 文件

🌐 JS files

同样,我们可以选择包含部分或全部已编译的 JavaScript。

🌐 Similarly, we have options for including some or all of our compiled JavaScript.

JS 文件Popper
bootstrap.bundle.js
bootstrap.bundle.min.js
包含
bootstrap.js
bootstrap.min.js

Bootstrap 源代码

🌐 Bootstrap source code

Bootstrap 源代码下载包括已编译的 CSS 和 JavaScript 资源,以及源 Sass、JavaScript 和文档。更具体地说,它包括以下内容以及更多内容:

🌐 The Bootstrap source code download includes the compiled CSS and JavaScript assets, along with source Sass, JavaScript, and documentation. More specifically, it includes the following and more:

bootstrap/
├── dist/
│   ├── css/
│   └── js/
├── site/
│   └──content/
│      └── docs/
│          └── 5.3/
│              └── examples/
├── js/
└── scss/

scss/js/ 是我们 CSS 和 JavaScript 的源码。dist/ 文件夹包含上述已编译下载部分列出的所有内容。site/content/docs/ 文件夹包含我们托管文档的源码,包括我们 Bootstrap 使用的实时示例。

🌐 The scss/ and js/ are the source code for our CSS and JavaScript. The dist/ folder includes everything listed in the compiled download section above. The site/content/docs/ folder includes the source code for our hosted documentation, including our live examples of Bootstrap usage.

除此之外,任何其他包含的文件都提供对软件包、许可证信息和开发的支持。

🌐 Beyond that, any other included file provides support for packages, license information, and development.