Zviri mukati
Ziva izvo zvinosanganisirwa muBootstrap, kusanganisira yedu yakagadziridzwa uye sosi kodhi kodhi flavour. Rangarira, Bootstrap's JavaScript plugins inoda jQuery.
Precompiled Bootstrap
Kana wangodhawunirodha, unzip iyo yakamanikidzwa folda uye iwe uchaona chimwe chinhu chakadai:
bootstrap/
├── css/
│ ├── bootstrap-grid.css
│ ├── bootstrap-grid.css.map
│ ├── bootstrap-grid.min.css
│ ├── bootstrap-grid.min.css.map
│ ├── bootstrap-reboot.css
│ ├── bootstrap-reboot.css.map
│ ├── bootstrap-reboot.min.css
│ ├── bootstrap-reboot.min.css.map
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ └── bootstrap.min.css.map
└── js/
├── bootstrap.bundle.js
├── bootstrap.bundle.js.map
├── bootstrap.bundle.min.js
├── bootstrap.bundle.min.js.map
├── bootstrap.js
├── bootstrap.js.map
├── bootstrap.min.js
└── bootstrap.min.js.map
Iyi ndiyo inonyanya kukosha yeBootstrap: akafanorongedzerwa mafaera ekukurumidza kudonhedza-mukati kushandiswa munenge chero webhu purojekiti. Isu tinopa yakaunganidzwa CSS uye JS ( bootstrap.*
), pamwe neyakaunganidzwa uye minified CSS uye JS ( bootstrap.min.*
). Mamepu ( bootstrap.*.map
) aripo kuti ashandiswe nemamwe mabhurawuza ekuvandudza maturusi. Akasungwa JS mafaera ( bootstrap.bundle.js
uye minified bootstrap.bundle.min.js
) anosanganisira Popper , asi kwete jQuery .
CSS mafaira
Bootstrap inosanganisira mashoma esarudzo ekubatanidza mamwe kana ese edu akanyorwa CSS.
CSS mafaira | Layout | Content | Zvikamu | Utilities |
---|---|---|---|---|
bootstrap.css
bootstrap.min.css
|
Included | Included | Included | Included |
bootstrap-grid.css
bootstrap-grid.min.css
|
Grid system chete | Haina kubatanidzwa | Haina kubatanidzwa | flex utilities chete |
bootstrap-reboot.css
bootstrap-reboot.min.css
|
Haina kubatanidzwa | Chete Reboot | Haina kubatanidzwa | Haina kubatanidzwa |
JS mafaira
Saizvozvo, isu tine sarudzo dzekubatanidza zvimwe kana ese edu akaunganidzwa JavaScript.
JS mafaira | Popper | jQuery |
---|---|---|
bootstrap.bundle.js
bootstrap.bundle.min.js
|
Included | Haina kubatanidzwa |
bootstrap.js
bootstrap.min.js
|
Haina kubatanidzwa | Haina kubatanidzwa |
Bootstrap source code
Iyo Bootstrap sosi kodhi yekurodha inosanganisira iyo yakafanorongwa CSS uye JavaScript midziyo, pamwe nekwakabva Sass, JavaScript, uye zvinyorwa. Kunyanya kunyanya, zvinosanganisira zvinotevera uye nezvimwe:
bootstrap/
├── dist/
│ ├── css/
│ └── js/
├── site/
│ └── content/
| └── docs/
| └── 4.6/
| └── examples/
├── js/
└── scss/
Iwo scss/
uye js/
ndiwo kodhi kodhi yeCSS yedu uye JavaScript. Iyo dist/
folda inosanganisira zvese zvakanyorwa mu precompiled yekurodha chikamu pamusoro. Iyo site/docs/
folda inosanganisira iyo kodhi kodhi yezvinyorwa zvedu, uye examples/
zveBootstrap kushandiswa. Kupfuura izvozvo, chero imwe faira inosanganisirwa inopa rutsigiro rwepakeji, ruzivo rwerezinesi, uye kusimudzira.