Awọn akoonu
Ṣawari ohun ti o wa ninu Bootstrap, pẹlu iṣaju iṣaju wa ati awọn adun koodu orisun. Ranti, Bootstrap's JavaScript afikun nilo jQuery.
Bootstrap ti a ti ṣajọ tẹlẹ
Ni kete ti o ba ṣe igbasilẹ, ṣii folda ti o ni fisinuirindigbindigbin ati pe iwọ yoo rii nkan bii eyi:
This is the most basic form of Bootstrap: precompiled 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, but not jQuery.
CSS files
Bootstrap includes a handful of options for including some or all of our compiled CSS.
CSS files | Layout | Content | Components | Utilities |
---|---|---|---|---|
bootstrap.css
bootstrap.min.css
|
Included | Included | Included | Included |
bootstrap-grid.css
bootstrap-grid.min.css
|
Only grid system | Not included | Not included | Only flex utilities |
bootstrap-reboot.css
bootstrap-reboot.min.css
|
Not included | Only Reboot | Not included | Not included |
JS files
Similarly, we have options for including some or all of our compiled JavaScript.
JS files | Popper | jQuery |
---|---|---|
bootstrap.bundle.js
bootstrap.bundle.min.js
|
Included | Not included |
bootstrap.js
bootstrap.min.js
|
Not included | Not included |
Bootstrap source code
Gbigba koodu orisun Bootstrap pẹlu CSS ti a ṣajọ tẹlẹ ati awọn ohun-ini JavaScript, pẹlu orisun Sass, JavaScript, ati iwe. Ni pataki diẹ sii, o pẹlu atẹle naa ati diẹ sii:
Awọn scss/
ati js/
pe o jẹ koodu orisun fun CSS ati JavaScript wa. Fọọmu dist/
naa pẹlu ohun gbogbo ti a ṣe akojọ si ni apakan igbasilẹ ti a ti ṣajọ tẹlẹ loke. Awọn site/docs/
folda pẹlu awọn koodu orisun fun wa iwe, ati examples/
ti Bootstrap lilo. Ni ikọja iyẹn, eyikeyi faili to wa pẹlu n pese atilẹyin fun awọn akojọpọ, alaye iwe-aṣẹ, ati idagbasoke.