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:
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.*
). source mamepu ( bootstrap.*.map
) aripo kuti ashandiswe nemamwe mabhurawuza ekuvandudza maturusi. Akaiswa maJS 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 imwe kana yese yedu yakaunganidzwa 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:
Iyo scss/
uye js/
ndiyo 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.