Source

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.css
│   ├── bootstrap.css.map
│   ├── bootstrap.min.css
│   ├── bootstrap.min.css.map
│   ├── 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
└── js/
    ├── bootstrap.bundle.js
    ├── bootstrap.bundle.min.js
    ├── bootstrap.js
    └── bootstrap.min.js

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 eCSS source ( bootstrap.*.map) anowanikwa kuti ashandiswe nemamwe mabhurawuza ekuvandudza maturusi. Akasungwa JS mafaera ( bootstrap.bundle.jsuye 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/
├── docs/
│   └── 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 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.