Source

Cov ntsiab lus

Tshawb nrhiav pom dab tsi suav nrog hauv Bootstrap, suav nrog peb cov ntawv sau ua ntej thiab qhov chaws tsw qab. Nco ntsoov, Bootstrap's JavaScript plugins xav tau jQuery.

Precompiled Bootstrap

Thaum downloaded, unzip lub compressed nplaub tshev thiab koj yuav pom tej yam zoo li no:

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

Nov yog daim ntawv yooj yim tshaj plaws ntawm Bootstrap: cov ntaub ntawv precompiled rau kev siv ceev ceev hauv yuav luag txhua qhov web project. Peb muab tso ua ke CSS thiab JS ( bootstrap.*), nrog rau muab tso ua ke thiab minified CSS thiab JS ( bootstrap.min.*). cov duab qhia chaw ( bootstrap.*.map) muaj rau siv nrog qee qhov browsers 'cov cuab yeej tsim tawm. Bundled JS cov ntaub ntawv ( bootstrap.bundle.jsthiab minified bootstrap.bundle.min.js) suav nrog Popper , tab sis tsis yog jQuery .

CSS cov ntaub ntawv

Bootstrap suav nrog qee qhov kev xaiv rau suav nrog qee lossis tag nrho peb cov CSS suav nrog.

CSS cov ntaub ntawv Layout Cov ntsiab lus Cheebtsam Cov khoom siv
bootstrap.css
bootstrap.min.css
suav nrog suav nrog suav nrog suav nrog
bootstrap-grid.css
bootstrap-grid.min.css
Tsuas yog kab sib chaws Tsis suav nrog Tsis suav nrog Tsuas yog cov khoom siv flex
bootstrap-reboot.css
bootstrap-reboot.min.css
Tsis suav nrog Tsuas yog Reboot Tsis suav nrog Tsis suav nrog

JS cov ntaub ntawv

Ib yam li ntawd, peb muaj kev xaiv rau suav nrog qee lossis tag nrho peb cov ntaub ntawv JavaScript.

JS cov ntaub ntawv Popper jQuery
bootstrap.bundle.js
bootstrap.bundle.min.js
suav nrog Tsis suav nrog
bootstrap.js
bootstrap.min.js
Tsis suav nrog Tsis suav nrog

Bootstrap qhov chaws

Bootstrap qhov chaws rub tawm suav nrog CSS thiab JavaScript cov cuab yeej ua ntej, nrog rau qhov chaw Sass, JavaScript, thiab cov ntaub ntawv. Tshwj xeeb tshaj yog, nws suav nrog cov hauv qab no thiab ntau dua:

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

Qhov scss/thiab js/yog qhov chaws rau peb CSS thiab JavaScript. Cov dist/ntawv tais ceev tseg suav nrog txhua yam uas tau teev nyob rau hauv precompiled download seem saum toj no. Cov site/docs/ntawv tais ceev tseg suav nrog qhov chaws rau peb cov ntaub ntawv, thiab examples/kev siv Bootstrap. Ntxiv rau qhov ntawd, lwm cov ntaub ntawv suav nrog muab kev txhawb nqa rau pob khoom, ntaub ntawv tso cai, thiab kev txhim kho.