Inhmelhriattirna
Khawvela responsive, mobile-first site siamna atana framework lar ber Bootstrap hmangin tan la la, jsDelivr leh template starter page hmangin tan la rawh.
I project-ah Bootstrap hi rang taka add duh em? jsDelivr hmang la, jsDelivr-a mite chuan a thlawnin an pe a ni. Package manager hmangin nge source files download a ngai em? Downloads page ah chuan kal rawh.
Kan CSS load turin stylesheet chu stylesheet dang zawng zawng hmain <link>
i chhungah copy-paste rawh .<head>
Kan component tam tak hi a hnathawh theih nan JavaScript hman a ngai a ni. A bik takin, jQuery , Popper.js , leh kan JavaScript plugins te an mamawh a ni. A hnuaia <script>
s te hi i page tawp ber bulah, closing </body>
tag hma lawkah dah la, an enable theih nan. jQuery hi a rawn lang hmasa tur a ni a, chutah chuan Popper.js a rawn lang leh tur a ni a, chutah chuan kan JavaScript plugins te hi a rawn lang leh tur a ni.
jQuery-a slim build kan hmang a, mahse full version pawh a support bawk.
Eng component nge chiang taka jQuery, kan JS, leh Popper.js te mamawh tih hriat duh em? A hnuaia show components link ah hian click la. General page structure chungchangah i chiang lo tak tak a nih chuan, entirnan page template atan chhiar chhunzawm zel ang che.
Kan bootstrap.bundle.js
leh Popperbootstrap.bundle.min.js
te pawh a tel a , mahse jQuery erawh a ni lo . Bootstrap-a thil awmte hriat belh duh chuan kan contents section hi en la.
JavaScript mamawh component te chu entir rawh
- Hnawhchhuah a nih theihna tur alerts
- State toggling tur button leh checkbox/radio hnathawh dan tur
- Slide behavior zawng zawng, control leh indicator zawng zawng tan carousel
- Content hmuh theihna toggling atan collapse rawh
- Display leh positioning atan dropdowns ( Popper.js pawh a ngai bawk )
- Display, positioning, leh scroll awm dan tur modal te
- Navbar hmangin kan Collapse plugin chu responsive behavior implement turin kan tizau a ni
- Tooltips leh popovers te entir leh positioning tur ( Popper.js pawh a ngai bawk )
- Scroll awm dan leh navigation update te chu scrollspy hmangin
I page te chu design leh development standard thar ber ber nen set up tir ngei ang che. Chu chu HTML5 doctype hman a, responsive behavior dik tak neih theihna turin viewport meta tag dah tel tihna a ni. A zawng zawng kha han dah khawm la, i page te chu hetiang hian a awm tur a ni:
Chu chu overall page mamawhna atana i mamawh zawng zawng chu a ni. I site-a thu awmte leh a component-te lay out ṭan turin Layout docs emaw kan official entirnan emaw tlawh la .
Bootstrap hian global style leh setting pawimawh tak tak a hmang a, chu chu i hman hunah i hriat chian a ngai dawn a, chung zawng zawng chu cross browser style normalization lam hawia siam vek a ni deuh ber. Dive lut ila.
Bootstrap hian HTML5 doctype hman a ngai a. A tel lo chuan funky incomplete styling thenkhat i hmu ang a, mahse a telh chuan hiccups lian tham a thlen tur a ni lo.
Bootstrap is developed mobile first , chu strategy a ni a, chu chu mobile devices tana code kan optimize hmasa a, chutah chuan CSS media query hmangin a tul angin components kan scale up thin. Device zawng zawng tana rendering leh touch zooming dik tak neih theih nan , i <head>
.
Hei hi a taka entir nan starter template ah hian i hmu thei ang .
CSS-a sizing awlsam zawk neih duh chuan global box-sizing
value content-box
chu border-box
. Hei hian padding
element pakhat final computed width a nghawng lo tih a tichiang a, mahse third party software thenkhat Google Maps leh Google Custom Search Engine te ah harsatna a thlen thei a ni.
Override i mamawh hun tlemteah chuan a hnuaia mi ang chi hi hmang ang che:
A chunga snippet hmang hian nested elements—generated content via ::before
leh te pawh tel— chumi atana ::after
tarlan chu an inherit vek angbox-sizing
.selector-for-some-widget
Box model leh sizing chungchang hi CSS Tricks ah hian zir belh rawh .
Cross-browser rendering tihchangtlun nan Reboot kan hmang a, browser leh device hrang hranga inmil lohna siam\hat nan kan hmang a, chutih rualin HTML element tlangpuiah ngaihdan nei reset tlem zawk kan pe bawk.
Bootstrap siam dan tur hriat reng la, heng thil \angkai tak tak hmang hian khawtlang hnenah thlen rawh.
- Twitter ah @getbootstrap hi lo follow ve rawh le .
- The Official Bootstrap Blog hi chhiar la, subscribe rawh .
- IRC-a Bootstrapper thawhpui te nen inbiakna nei rawh.
irc.freenode.net
Server ah chuan, channel##bootstrap
ah. - Implementation tanpuina chu Stack Overflow (tagged ) ah hian hmuh theih a
bootstrap-4
ni. - Developer te chuan npm emaw a ang chi delivery mechanism
bootstrap
hmanga an sem chhuah hunah Bootstrap hnathawh dan siam danglam emaw tihpun emaw package-ah keyword hi an hmang tur a ni a, chu chu maximum discoverability atan an hmang tur a ni.
Twitter-ah @getbootstrap hi i follow thei bawk a , thuthang thar leh music video mak tak tak i hmu thei bawk.