Customize theih a ni
Sass hmanga Bootstrap theme dan, customize dan leh tihzauh dan te, global option hrang hrang boatload te, color system zau tak leh a dangte zir rawh.
A tlangpuiin
Bootstrap hi customize dan hrang hrang a awm a. I kawng tha ber chu i project, i build tools complexity, Bootstrap version i hman dan, browser support leh thil dang tam takah a innghat thei a ni.
Kan hman dan duh ber pahnih chu:
- Kan source files te i hman theih nan leh i tihzauh theih nan package manager kaltlangin Bootstrap hman.
- Bootstrap-a compiled distribution files emaw jsDelivr emaw hmangin Bootstrap -a styles te chu add onto emaw override emaw theih a ni.
Hetah hian package manager tinte hman dan tur chipchiar takin kan sawi thei lo nain, i Sass compiler hmanga Bootstrap hman dan tur kaihhruaina engemaw zat kan pe thei ang
Distribution files hmang duh tan chuan getting started page chu enfiah la, chu files te dah dan tur leh HTML page entirnan. Chuta tang chuan i hman duh layout, component leh behavior te chu docs ah en la.
Bootstrap i hriat chian chhoh zel chuan, kan global options hman dan tur te, kan color system hman dan tur leh thlak dan tur te, kan components kan siam dan tur te, CSS custom properties kan list lian zel tur hman dan tur te, leh engtin nge kan hman dan tur te chipchiar zawka hriat duh chuan he section hi chhui chhunzawm zel ang che Bootstrap hmanga i siam hunah i code optimize theih nan.
CSP leh embedded SVG te pawh a awm bawk
Bootstrap component engemaw zatah hian kan CSS-ah hian embedded SVGs a awm a, chu chuan browser leh device hrang hrangah component hrang hrangte chu a inmil leh awlsam taka style turin a siam a ni. For organizations with more strict CSP configurations , kan embedded SVGs instance zawng zawng kan document vek a (chu zawng zawng chu via apply a ni background-image
) chutiang chuan i duhthlannate uluk zawkin i enfiah thei ang.
- Accordion a ni
- Close button (alert leh modal-a hman thin) .
- Form checkbox leh radio button te
- Form a inthlak thin
- Form validation icon te pawh a awm bawk
- Menu te thlang rawh
- Carousel hmanga control theih a ni
- Navbar ah chuan a toggle a
Based on community conversation , i codebase-a hei hi address-na tur option thenkhat chu URL-te chu locally hosted assets-a thlak te, images te paih chhuah leh inline images hman (component zawng zawngah a theih loh), leh i CSP siam danglam te a ni. Kan rawtna chu nangmah ngeiin security policy te uluk taka enfiah a, a tul chuan hmalam panna kawng tha ber tur ngaihtuah hi a ni.