Iconography, dropdown, input group, navigation, alerts leh thil dang tam tak pe turin reusable component dozen chuang siam a ni.
Glyphicons te hi a ni
Glyphs awm thei te
Glyphicon Halflings set atanga font format-a glyph 250 chuang a awm bawk. Glyphicons Halflings hi a tlangpuiin a thlawna lei theih a ni lo a, mahse a siamtu hian Bootstrap atan a thlawnin a siamsak a ni. Lawmthu sawina atan a theih phawt chuan Glyphicons -a link back dah vek turin kan ngen a ni.
glyphicon chu a rawn lang leh ta a
glyphicon chuan glyphicon-plus a ni
a rilru a buai em em a. glyphicon-euro
glyphicon chuan a rawn ti a
glyphicon a ni a, a hlimthla a ni
glyphicon glyphicon-chung chu a ni
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon glyphicon-glass hmanga siam a ni
glyphicon chu a hlimthla a ni
glyphicon glyphicon-a zawn chhuah theih
glyphicon glyphicon-thinlung a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-arsi-a hring vek
glyphicon glyphicon-a hmangtu a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-a lian ber a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-th-list ah hian a awm a
glyphicon chuan a rawn ti a
glyphicon glyphicon-a chhuah theih
glyphicon chuan a rawn ti a
glyphicon glyphicon-a tih theih a ni
glyphicon chu a chhuak ta a ni
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon glyphicon-bawlhhlawh a ni
glyphicon chuan a rawn ti a
glyphicon chu a rawn lang leh ta
glyphicon glyphicon-a hun lai a ni
glyphicon glyphicon-a chhuahna tur kawng
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon glyphicon-play-circle hmanga khelh theih a ni
glyphicon glyphicon-a sawi nawn leh thin
glyphicon glyphicon-a tiharh a ni
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chu a rawn lang a
glyphicon chuan glyphicon-headphone a hmang bawk
glyphicon glyphicon-a volume-a chhuah theih a ni
glyphicon glyphicon-a volume tihhniam a ni
glyphicon glyphicon-a volume-a tihpun theih a ni
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon a ni a, a hlimthla a ni
glyphicon glyphicon-a lehkhabu ziah a ni
glyphicon glyphicon-a ziak a ni
glyphicon chuan a ziak a ni
glyphicon chuan a rawn ti a
glyphicon chuan a ziak a ni
glyphicon a ni a, a hlimthla a ni
glyphicon chuan a ziak a ni
glyphicon glyphicon-thuziak-san zawng
glyphicon glyphicon-thuziak-a zau zawng
glyphicon glyphicon-a inthlauhna chu veilam a ni
glyphicon glyphicon-a inthlunzawm-a laiah a awm
glyphicon glyphicon-a inmil tur chu a ni
glyphicon glyphicon-a inmil tur chu a dik lo tihna a ni
glyphicon chu a rawn lang leh ta
glyphicon glyphicon-indent-khawi lamah nge a awm
glyphicon glyphicon-indent-a dinglam a ni
glyphicon glyphicon-hma lam hun-video
glyphicon glyphicon-a thlalak a ni
glyphicon glyphicon-map-a chhinchhiahna a ni
glyphicon glyphicon-a siamrem theih a ni
glyphicon chuan a rawn ti a
glyphicon chuan a ziak a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-a enfiah theih a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-hnuai lam hawia kal
glyphicon glyphicon-rang taka hnunglam hawia
glyphicon glyphicon-hnung lam hawi
glyphicon chu a hlimthla a ni
glyphicon glyphicon-pause tih hi a ni
glyphicon chuan a ti a
glyphicon glyphicon-hmalam pan tur a ni
glyphicon glyphicon-hmalam pan chak tak
glyphicon glyphicon-hmalam pan zel tur
glyphicon chuan a rawn ti chhuak a
glyphicon glyphicon-chevron-khawi lamah nge a awm
glyphicon glyphicon-chevron-a dinglam a ni
glyphicon glyphicon-plus-a chhinchhiahna a awm bawk
glyphicon glyphicon-minus-a chhinchhiahna
glyphicon glyphicon-hlah-a chhinchhiahna
glyphicon glyphicon-ok- chhinchhiahna a awm
glyphicon glyphicon-zawhna- chhinchhiahna
glyphicon glyphicon-info- chhinchhiahna a awm bawk
glyphicon chuan a rawn ti a
glyphicon glyphicon-a chhuah-a circle
glyphicon glyphicon-ok-circle ah hian a awm a
glyphicon chuan a rawn ti a
glyphicon glyphicon-arrow-khawi lamah nge a awm
glyphicon glyphicon-arrow-dinglam a ni
glyphicon glyphicon-arrow-up chu a rawn lang a
glyphicon glyphicon-arrow-a hnuai lam
glyphicon chuan a rawn ti a
glyphicon glyphicon-a lian leh te-a khat
glyphicon glyphicon-a lian leh te-a te
glyphicon glyphicon-a rilru a buai em em a, a rilru a hah em em bawk a
glyphicon glyphicon-thilpek a ni
glyphicon glyphicon-a hnah a awm
glyphicon chuan a rawn ti a
glyphicon glyphicon-mit inhawng thei
glyphicon glyphicon-mit khar a ni
glyphicon glyphicon-vaukhânna- chhinchhiahna
glyphicon chuan a rawn ti a
glyphicon glyphicon-calendar hmanga ziah a ni
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon glyphicon-chevron-a hnuai lam a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-a lei tur a awm
glyphicon glyphicon-folder-a khar theih a ni
glyphicon glyphicon-a folder-a hawn theih a ni
glyphicon glyphicon-a lian leh te tihdanglam-vertical
glyphicon glyphicon-a lian leh te tihdanglam-horizontal
a rilru a buai em em a. glyphicon-hdd
glyphicon hnim hring-bullhorn tih a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-certificate a nei bawk a ni
glyphicon glyphicon-a kut zungtang hmanga tih theih
glyphicon glyphicon-a kut zungtang hnuai lam
glyphicon glyphicon-kut-dinglam a ni
glyphicon glyphicon-kut-khawi lam
glyphicon glyphicon-kut-a chungah
glyphicon glyphicon-kut hnuai lam
glyphicon glyphicon-a zungbun-arrow-dinglam a ni
glyphicon glyphicon-circle-arrow-khawi lamah nge a awm
glyphicon glyphicon-a zungbun-arrow-up
glyphicon glyphicon-a zungbun-arrow-down
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon glyphicon-hnathawh tur te
glyphicon chuan a rawn ti a
glyphicon glyphicon-ah chuan a awm a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon glyphicon-paperclip hmanga ziah a ni
glyphicon glyphicon-thinlung-a hring
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
a rilru a buai em em a. glyphicon-gbp
glyphicon a ni a, a hlimthla a ni
glyphicon glyphicon-a alphabet hrang hranga thliar hrang tur
glyphicon glyphicon-hourglass a ni a, a hlimthla a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-a siam a ni
glyphicon glyphicon-a chhuahna tur hmun
glyphicon glyphicon-a rilru a buai em em a
glyphicon chuan a rawn ti a
a rilru a buai em em a. glyphicon-btc
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon chuan a rawn ti a
glyphicon glyphicon-a tehna a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-ice-lolly-a tui tak a ni
glyphicon glyphicon-zirtirna hmanga zirtirna pek a ni
glyphicon glyphicon-a thlan theih-horizontal
glyphicon glyphicon-thil thlan tur-vertical
glyphicon a ni a, a man pawh a tlawm hle
glyphicon chuan a rawn ti a
glyphicon hnim hring-oil a ni
glyphicon glyphicon-thil chi hrang hrang a awm
glyphicon glyphicon-ni chhuahna mitmeng
glyphicon glyphicon-thuziak-a lian zawng
glyphicon glyphicon-thuziak-a rawng a awm
glyphicon glyphicon-thuziak-a hnung lam
glyphicon glyphicon-thil-a inmil-a chung lam
glyphicon glyphicon-thil-a inmil-a hnuai lam
glyphicon glyphicon-thil-a inmil-a dinglam
glyphicon glyphicon-thil-a inmil-khawi lamah nge
glyphicon glyphicon-thil-a inmil-a dinglam
glyphicon glyphicon-thil-a inmil-dinglam
glyphicon glyphicon-triangle-a dinglam a ni
glyphicon glyphicon-triangle-khawi lamah nge a awm
glyphicon glyphicon-triangle-a hnuai lam
glyphicon glyphicon-triangle-a chunglam a ni
glyphicon chuan a rawn ti a
glyphicon glyphicon-a ziak a ni
glyphicon chuan a ziak a ni
glyphicon glyphicon-menu-ah chuan a awm a
glyphicon chu a rawn lang leh ta
glyphicon chu a rawn lang leh ta a
glyphicon chu a rawn lang leh ta
A hman dan tur
Performance avang hian icon zawng zawng hian base class leh individual icon class a mamawh vek a ni. Hman tur chuan a hnuaia code hi khawi hmunah pawh dah mai rawh. Padding dik tak neih theih nan icon leh text inkarah space dah ngei ang che.
Component dang nen inhmeh lo la
Icon class te hi component dang nen direct in an inzawm thei lo. Element khata class dang nen hman dun loh tur a ni. Chu ai chuan nested add la, <span>icon class te chu <span>.
Element hrui hring chunga hman tur chauh
Icon class hi text content nei lo leh child element nei lo element-ah chauh hman tur a ni.
Icon font awmna hmun thlak danglam
Bootstrap hian icon font file te chu ../fonts/directory ah a awm dawn niin a ngai a, CSS file compile tawh te nen khaikhin chuan. Chu font file-te chu sawn emaw, hming thlak emaw tih awmzia chu kawng pathum zinga pakhat hmanga CSS update tihna a ni:
@icon-font-pathSource Less files a leh/ emaw @icon-font-namevariable te chu thlak rawh .
url()Compiled CSS ah chuan paths te chu thlak rawh .
I development setup bik nena inmil tur option eng pawh hmang rawh.
Icons hmuh theih te
Assistive technology thar ber berte chuan CSS siam chhuah content an puang dawn a, Unicode character bikte pawh an puang bawk ang. aria-hidden="true"Screen reader-a output tum loh leh buaithlak tak awm lo turin (a bik takin icon te chu decoration atan chauh hman a nih chuan) attribute hmangin kan thup thin .
Icon awmzia sawina atana i hman chuan (decorative element ang chauh ni lovin), he awmzia hi assistive technology-ah pawh a thlen ngei ngei tur a ni – entirnan, thu belhchian dawl zawk, .sr-onlyclass nena hmuh theiha thup, dah tel bawk ang che.
Text dang nei lo control i siam a nih chuan ( <button>icon chauh awmna ang chi) control tum hriat theihna tur content dang i pe fo tur a ni a, chutiang chuan assistive technology hmangtute tan awmzia a nei ang. Chutiang a nih chuan aria-labelcontrol-ah ngei pawh attribute i dah thei ang.
Entirna te
Button-ah te, toolbar atan button group-ah te, navigation-ah te, prepended form input-ah te hmang ang che.
Alert -a error message a nih thu hriattirna atana hman icon , .sr-onlyassistive technology hmangtute hnena he hint thlenna tur text additional a awm bawk.
Dik lo:Email address dik tak ziak rawh
Dropdown te pawh a awm
Link list tarlanna tur toggleable, contextual menu a awm bawk. Dropdown JavaScript plugin hmangin interactive taka siam a ni .
Entirna
Dropdown-a trigger leh dropdown menu chu .dropdown, emaw , declare element dang emaw chhungah wrap rawh position: relative;. Tichuan menu a HTML chu add leh ang che.
Default-ah chuan dropdown menu chu a chung atanga 100% in a parent veilam sir lamah a awm nghal vek a ni. Dropdown menu chu .dropdown-menu-righta atanga dinglam hawiin add rawh ..dropdown-menu
Positioning dang dah belh a ngai mai thei
Dropdown te chu CSS hmangin document flow pangngai chhungah automatic in a awm a. Hei hian dropdown te chu property thenkhat nei nu leh pate’n an crop thei a overflow, viewport atanga ramri pawnah a lang thei tihna a ni. Heng thilte hi a lo chhuah ang zelin nangmah ngeiin hma la rawh.
Alignment hman tawh .pull-rightloh
.pull-rightv3.1.0 atang khan dropdown menu ah kan deprecated tawh a. Menu pakhat right-align tur chuan .dropdown-menu-right. Navbar-a right-aligned nav components te hian he class mixin version hmangin menu chu automatic in align turin an hmang thin. Override tur chuan .dropdown-menu-left.
Headers te pawh a awm
Dropdown menu eng pawha action section label turin header dah la.
Button hrang hrangte chu button group nen line khatah group khawm rawh. Kan buttons plugin hmangin JavaScript radio leh checkbox style behavior optional te chu add rawh .
Button group-a Tooltips & popovers te hi setting bik a ngai a ni
a chhunga element-te chunga tooltips emaw popovers emaw i hman hian , duh loh side effects (element chu a zau zawk leh/ emaw tooltip emaw popover emaw a trigger hunah a rounded corners hloh ang chi) pumpelh .btn-grouptheihna tur option i tarlang tur a ni.container: 'body'
Dik taka enfiah la role, label pe rawh
Assistive technology – screen reader ang chi – te’n button hrang hrang group a rolenih thu an hriattir theih nan attribute dik tak pek a ngai a ni. Button group tan chuan hei hi , a ni ang a role="group", toolbar-ah erawh chuan role="toolbar".
Exception pakhat chu control pakhat chauh awmna group (entir nan elements nei justified button groups<button> ) emaw dropdown emaw a ni.
roleChu bakah, group leh toolbar-te chu chiang taka label pek tur a ni a, a chhan chu assistive technology tam zawk chuan chutiang a nih loh chuan attribute dik tak awm chung pawhin an puang dawn lo . Heta entîrna kan pêkteah hian , kan hmang aria-labela, mahse a dangte aria-labelledbypawh hman theih a ni.
Entirna bulpui ber
Button series pakhat chu in hmangin wrap .btnrawh .btn-group.
Button hmangin hmanrua a awm
Complex components tam zawk atan sets of <div class="btn-group">into a combine rawh.<div class="btn-toolbar">
Sizing a ni
Group pakhata button tinteah button sizing class apply ai chuan, group tam tak nest hunah pawh add .btn-group-*to each , ah hian dah mai rawh..btn-group
Nesting tih a ni
Dropdown menus button series nena mix i duh hunah a .btn-groupdang chhungah dah rawh ..btn-group
Button group pakhat chu a nu leh pa zau zawng zawng zawnga zau turin size inang tlanga inzawm tir rawh. Tin, button group chhunga button dropdown te nen pawh a thawk thei bawk.
Ramri enkawl dan
Button justify nana hman HTML leh CSS bik (chu chu display: table-cell) avang hian an inkar border te chu a let hnih a pung a ni. Regular button group-ah chuan, margin-left: -1pxborder te chu paih chhuah ai chuan stack nan hman a ni. Mahse, margina thawk lo display: table-cell. Chuvang chuan Bootstrap-a i customizations a zirin border te chu i paih emaw, i rawng leh emaw duh mai thei.
IE8 leh ramri te
Internet Explorer 8 hian justified button group-a button awmte border a render lo va, on <a>emaw <button>elements emaw pawh nise. Chu chu paltlang theih nân, button tin chu a dangin wrap la .btn-group.
Element-te chu button anga thawk tura hman a nih chuan <a>– in-page functionality tichhuaktu, tuna page chhunga document emaw section dang emaw kal ai chuan – a remchan dan angin pek tur a ni bawk role="button".
<button>Elements te nen
<button>Element awmna justified button group hman tur chuan button tinte chu button group-ah i wrap tur a ni . Browser tam zawk chuan <button>elements justification atan kan CSS hi an hmang dik lo a, mahse button dropdown kan support avangin chu chu kan thawk chhuak thei a ni.
Button a rawn tla thla thin
Button eng pawh hmangin dropdown menu chu a chhungah dah la, .btn-groupmenu markup dik tak pe la, trigger rawh.
Plugin a innghat a ni
Button dropdown ah chuan dropdown plugin chu Bootstrap version ah dah tel a ngai a.
Text-based eng pawh hma, a hnu emaw, a sir lehlamah emaw text emaw button emaw dahin form controls chu tizau rawh <input>. Single-a element prepend emaw append emaw turin .input-groupan .input-group-addonor hmangin hmang rawh ..input-group-btn.form-control
Textual <input>s chauh a ni
<select>Hetah hian elements hi WebKit browser-ah chuan fully style theih a nih loh avangin hman loh tur.
<textarea>Hetah hian element hman loh tur a ni a, an rowsattribute chu a then phei chuan zah a ni dawn lo.
Input group-a Tooltips & popovers te hi setting bik a ngai a ni
An chhunga element-te chunga tooltips emaw popovers emaw i hman hian , duh loh side effects (element chu a zau zawk leh/ emaw tooltip emaw popover emaw a trigger hunah a rounded corners hloh ang chi) pumpelh .input-grouptheihna tur option i tarlang tur a ni.container: 'body'
Component dang nen inhmeh lo la
Form group emaw grid column class emaw chu input group nen direct-in mix suh. Chu ai chuan input group chu form group emaw grid nena inzawm element chhungah nest la.
Label te pawh add fo thin ang che
Input tin atan label i dah tel loh chuan screen reader-te chuan i form-ah harsatna an nei ang. Heng input group-te tan hian label emaw functionality dang emaw chu assistive technology-te hnena thlen a nih ngei ngei tur a ni.
Technique hman tur dik tak (visible <label>elements, class <label>hmanga element thup , emaw , , , emaw attribute hman dan) leh eng information dang nge pek chhuah a ngai dawn tih chu interface widget i implement tur chi dik tak a zirin a danglam ang. Hemi \hen-a entîrnate hian rawtna, case-specific approach tlemte a pe a ni..sr-onlyaria-labelaria-labelledbyaria-describedbytitleplaceholder
Entirna bulpui ber
Input pakhat sir lehlamah add-on emaw button emaw pakhat dah rawh. Input pakhat sir lehlamah pakhat i dah thei bawk.
Side khatah add-on ( .input-group-addonor ) tam tak kan support lo ..input-group-btn
Input group pakhatah form-control tam tak kan support lo.
Sizing a ni
Relative form sizing class te chu a chhungah dah la, a .input-groupchhunga thu awmte chu automatic in a resize ang—element tin chunga form control size class te chu tih nawn leh a ngai tawh lo.
Checkbox leh radio addon te pawh a awm bawk
Input group addon chhungah text aiah checkbox emaw radio option eng pawh dah rawh.
Button add a awm bawk
Input group-a button awmte hi a danglam deuh a, nesting level khat extra a ngai a ni. , ai chuan buttons wrap .input-group-addonnan i hmang a ngai ang . .input-group-btnHei hi default browser styles override theih loh avangin a ngai a ni.
Buttons a awm a, dropdown a awm bawk
Segmented a awm a
Button tam tak a awm
Side khatah add-on pakhat chauh i neih theih laiin, pakhat chhungah button tam tak i nei thei .input-group-btnbawk .
Navs a ni
Bootstrap-a Nav awm thei te hian shared markup an nei a, base .navclass atanga tan an ni a, chubakah shared states an nei bawk. Style tin inthlak danglam turin modifier class hrang hrang swap rawh.
Tab panel atan navs hman tur chuan JavaScript tabs plugin a ngai a
Tabbable area nei tab tan chuan tabs JavaScript plugin hmang tur a ni. Markup hian additional roleleh ARIA attribute a mamawh bawk ang – a chipchiar zawkna chu plugin-a example markup en rawh.
Navs te chu navigation atana hman theih turin siam rawh
Navs hmanga navigation bar i pek chuan , a role="navigation"logical ber parent container-ah a dah ngei ngei tur a ni a, a nih loh leh navigation pumpuiah element pakhat <ul>wrap vek tur a ni. <nav>Role chu a mah ngeiah belh suh <ul>, hei hian assistive technology-te’n list tak tak anga an puan theih loh nan.
Tabs te a awm
Class hian base class .nav-tabsa mamawh tih hre reng ang che ..nav
awlsam takin tab emaw pill emaw chu an nu leh pa zau zawng inang vek turin screen 768px aia zauah siam la, .nav-justified. Screen te zawkah chuan nav link te chu stack a ni.
Justified navbar nav links hi tunah hian a support lo.
Safari leh responsive justified navs te pawh a awm bawk
v9.1.2 atang khan Safari hian bug a lantir a, chutah chuan i browser chu horizontal-a resizing chuan justified nav-ah rendering error a awm a, chu chu refresh hunah a clear vek a ni. He bug hi justified nav example ah pawh a lang bawk .
Nav component eng pawh (tabs emaw pills emaw) tan chuan gray links leh hover effects awm lo.disabled tan add rawh .
Link functionality a nghawng lo
He class hian <a>'s appearance chauh a thlak ang a, a functionality a thlak danglam lo ang. Hetah hian link te tihtawp nan custom JavaScript hmang ang che.
Navbars hi responsive meta components a ni a, i application emaw site emaw tan navigation header atan hman a ni. Mobile view-ah chuan collapsed (leh toggleable) an ni tan a, available viewport width a san chhoh zel chuan horizontal an ni ta a ni.
Justified navbar nav links hi tunah hian a support lo.
Content a tam lutuk
Bootstrap hian i navbar-a content awmte hian space engzat nge a mamawh tih a hriat loh avangin, second row-a content wrapping chungchangah harsatna i tawk mai thei. Hei hi chinfel tur chuan hetiang hian i ti thei ang:
Navbar thil awm zat emaw a zau zawng emaw tihtlem rawh.
I navbar chu collapsed leh horizontal mode a inthlakna point kha thlak rawh. Variable chu @grid-float-breakpointi duh angin i siam thei a, i media query chu i duh angin i dah thei bawk.
JavaScript plugin a ngai a ni
JavaScript kha disable a nih a, viewport chu a tawi tawk a, navbar a collapse a nih chuan navbar chu tihzauh a, a chhunga thu awmte chu en theih a ni lo vang .navbar-collapse.
Mobile navbar breakpoint tihchhiat tawh chu thlak danglam a ni
Navbar hi viewport aiin a tawi zawk chuan a vertical mobile view-ah a collapse a, @grid-float-breakpointviewport a zau zawng tlem berah a horizontal non-mobile view-ah a inzar pharh @grid-float-breakpointbawk. Navbar a collapse/expand hun tur control turin Less source ah he variable hi adjust rawh. Default value chu 768px("small" emaw "tablet" screen te ber) a ni.
Navbars te chu hman theih turin siam rawh
Element hmang ngei ang che <nav>emaw, a ang chi element generic zawk i hman chuan navbar tinah <div>a dah la, assistive technology hmangtute tan landmark region anga chiang taka hriat theih nan.role="navigation"
Brand image a ni
Navbar brand chu i image hmangin thlak la, text chu <img>. The .navbar-brandhian padding leh height a neih avangin i image a zirin CSS thenkhat override a ngai mai thei.
Form hrang hrang
Form content chu a chhungah dah la, .navbar-formvertical alignment dik tak leh collapsed behavior chu narrow viewport-ah dah rawh. Navbar content chhunga a awmna tur hmun tur chu alignment options hmang la.
Heads up angin, a .navbar-formcode tam tak chu .form-inlinevia mixin hmangin a share thin. Form control thenkhat, input group ang chi te hian navbar chhunga fixed width te chu a dik taka lantir a ngai thei.
Input tin atan label i dah tel loh chuan screen reader-te chuan i form-ah harsatna an nei ang. .sr-onlyHeng inline form te tan hian class hmangin label te chu i thup thei ang . Assistive technology-te tana label pek dan dang dang a awm a, chu chu aria-label, aria-labelledbyemaw titleattribute te hi a ni. Chûng zînga pakhat mah a awm loh chuan screen reader-te chuan placeholderattribute hman an hmang thei a, a awm chuan, mahse placeholderlabeling method dangte aiah hman a ṭha lo tih hre reng ang che.
Buttons te a awm
a-a awm lo element-te chu navbar-a vertical-a center turin .navbar-btnclass chu dah la .<button><form>
Context-a hman dan tur
Standard button classes ang bawkin , .navbar-btnon <a>leh <input>elements te hman theih a ni. Mahse , . .navbar-btn_<a>.navbar-nav
Thumal
Text string te chu element pakhatah , hmangin wrap la .navbar-text, a tlangpuiin <p>tag-ah leading leh color dik tak neih theih nan.
Nav ni lo link te
Normal navbar navigation component chhunga awm lo standard link hmang folks tan chuan .navbar-linkclass hmang la, default leh inverse navbar options atan color dik tak dah rawh.
Component siam dan tur
Nav link, form, button, emaw text emaw chu align la, .navbar-leftor .navbar-rightutility class hmangin. Class pahnih hian CSS float an dah belh ang a, an kalna tur an dah ang. Entirnan, nav links align tur chuan <ul>utility class hrang hrang hman tur hmangin a hranpaa dah tur a ni.
.pull-leftHeng class te hi leh , mixin-ed version an ni a .pull-right, mahse device size hrang hranga navbar component awlsam zawka enkawl theih nan media query-ah scope an ni.
Component tam tak right aligning a ni
.navbar-rightTunah hian Navbars hian class tam tak neiin limitation a nei a . .navbar-rightContent space dik tak tur chuan element hnuhnung berah negative margin kan hmang thin . Chu class hmangtu element tam tak a awm chuan heng margin te hi a tum angin a thawk lo.
Chu component chu v4-a kan ziah thar theih hunah kan thlir nawn leh ang.
A chung berah fix a ni
A or to center leh pad navbar content te dah la .navbar-fixed-top, dah tel bawk ang che..container.container-fluid
Body padding a ngai a ni
Fixed navbar hian i content dangte chu a overlay ang a, paddinga chung berah i dah loh chuan <body>. I value te kha han enchhin la, a hnuaia kan snippet hi hmang la. Tip: Default-ah chuan navbar hi 50px a sang a ni.
Hei hi core Bootstrap CSS hnuah pawh telh ngei ngei tur a ni.
A hnuai lamah fix a ni
A or to center leh pad navbar content te dah la .navbar-fixed-bottom, dah tel bawk ang che..container.container-fluid
Body padding a ngai a ni
Fixed navbar hian i content dangte chu a overlay ang a, paddinga hnuai lama i dah loh chuan <body>. I value te kha han enchhin la, a hnuaia kan snippet hi hmang la. Tip: Default-ah chuan navbar hi 50px a sang a ni.
Hei hi core Bootstrap CSS hnuah pawh telh ngei ngei tur a ni.
Static chunglam a ni
Full-width navbar siam la, page nen scroll chhuak la , or to center leh pad navbar content dah .navbar-static-topla, dah tel bawk ang che..container.container-fluid
.navbar-fixed-*Class ang lo takin , body.
Inverted navbar a ni
Navbar a hmel chu add in siam danglam rawh .navbar-inverse.
I site emaw app emaw atan pagination link pe la, multi-page pagination component hmangin pe la, a nih loh leh pager alternative awlsam zawk hmangin pe rawh .
Pagination hmasa ber a ni
Rdio atanga inspired pagination awlsam tak, apps leh search results atan a tha hle. Block lian tak hi miss harsa tak a ni a, awlsam taka scalable a ni a, click area lian tak tak a pe bawk.
Pagination component chu label a ni
Pagination component chu element pakhata khuh tur a ni a, chu <nav>chu navigation section anga hriat theih turin reader leh assistive technology dangte screen-na tur a ni. Chu bâkah, page pakhatin chutiang navigation section pakhat aia tam a neih tawh a rinawm (header-a primary navigation ang chi, emaw, sidebar navigation ang chi), a thiltum târ langtu aria-labeltâna sawifiahna pêk a ṭha. <nav>Entirnan, pagination component chu search results set hrang hrang inkara kal theihna tura hman a nih chuan, label dik tak chu aria-label="Search results pages".
Disabled leh active state te
Link te hi thil awmdan hrang hrangah customizable a ni. .disabledLink click theih loh leh .activepage awm mek tarlanna atan hmang ang che .
Kan rawtna chu active emaw disabled emaw anchor te chu , atan swap out tur a ni a <span>, a nih loh leh arrow hmasa/a hnuaia awm a nih chuan anchor chu paih chhuah a ngai a, chu chuan click functionality chu a tum styles te chu vawng reng chungin i paih chhuak thei ang.
Sizing a ni
Pagination lian zawk emaw, te zawk emaw i duh em? Add .pagination-lgemaw .pagination-smsize dang atan emaw.
Pager a ni
Light markup leh style hmanga pagination implementation awlsam tak takte tan previous leh next link rang tak tak. Blog emaw magazine emaw ang chi site awlsam tak tak tan chuan a tha hle.
Default entirnan
Default-ah chuan pager hian link a center a.
Link te chu aligned a ni
A dang pawhin link tin chu a sir lamah i align thei bawk:
Optional disabled state a ni
Pager link te hian .disabledpagination atanga general utility class an hmang bawk.
Labels te pawh a awm
Entirna
Entirna thupui thar
Entirna thupui thar
Entirna thupui thar
Entirna thupui thar
Entirna thupui thar
Entirna thupui thar
Variation awm thei te
Label pakhat hmel tihdanglam nan a hnuaia modifier class tarlan zinga pakhat tal te hi add la.
Default Primary Hlawhtlinna Info Warning Hlauhawm
Label ton tam tak i nei em?
Rendering problem hi container tawi tak chhunga inline label dozens tam tak i neih chuan a lo awm thei a, pakhatah chuan anmahni inline-blockelement (icon ang chi) an awm vek a ni. Hei hi a chinfel dan tur chu setting a display: inline-block;ni . Context leh entirnan #13219 en rawh .
Badge te pawh a awm
<span class="badge">Links, Bootstrap navs leh thil dang tam takah a dahin thil thar emaw chhiar loh emaw awlsam takin highlight theih a ni.
Jumbotron chu full width-a siam tur chuan, leh corner rounded awm lovin, .containers zawng zawng pawnah dah la, a .containerchhungah dah belh rawh.
Page header a ni
h1Page pakhata thu awmte chu a remchan dan anga space out leh segment turin shell awlsam tak a ni. A h1's default smallelement a hmang thei a, chubakah component dang tam zawk (style dang nen) pawh a hmang thei bawk.
Entirna page header Header atan subtext
Thumbnail te pawh a awm
Bootstrap-a grid system chu thumbnail component hmangin tizau la, awlsam takin image, video, text leh thil dang grid-ah a lang thei ang.
Pinterest ang chi thumbnail san zawng leh/ emaw zau zawng hrang hranga presentation i zawng a nih chuan third-party plugin Masonry , Isotope , emaw Salvattore te i hmang a ngai ang .
Default entirnan
Default-ah chuan Bootstrap-a thumbnail te hi linked images te chu markup mamawh tlem ber hmanga pholan theih tura siam a ni.
Custom content a awm bawk
Extra markup tlem tal hmangin HTML content chi hrang hrang heading, paragraph, button te chu thumbnail-ah dah theih a ni.
Thumbnail label a ni
A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida chu eget metus ah a awm a. Nullam id dolor id nibh ultricies lirthei ut id elit.
A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida chu eget metus ah a awm a. Nullam id dolor id nibh ultricies lirthei ut id elit.
A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida chu eget metus ah a awm a. Nullam id dolor id nibh ultricies lirthei ut id elit.
User thiltih dan tlangpui atan contextual feedback message pe la, alert message awm thei leh inthlak danglam thei tlemte nen pe rawh.
Entirna te
Text eng pawh leh optional dismiss button in .alertleh contextual class pali (eg, .alert-success) zinga pakhat chu basic alert message atan wrap rawh.
Default class a awm lo
Alert hian default class a nei lo va, base leh modifier class chauh a nei. Default gray alert hian awmzia a nei lutuk lo va, chuvangin contextual class hmangin type pakhat i tarlan a ngai a ni. Hlawhtlinna, info, warning, emaw hlauhawm atang hian thlang rawh.
I ti tha e! He alert message pawimawh tak hi hlawhtling takin i chhiar a ni.
Lu a ti sang a! He alert hian i ngaihven a ngai a, mahse super important a ni lo.
Vaulawkna! Better check yourself, i hmel a tha lutuk lo.
Aw snap! Thil tlemte thlak la, submit leh tum leh rawh.
Dismissible alerts a awm bawk
Alert eng pawh hmangin optional .alert-dismissibleleh close button dahin build rawh.
Workflow emaw action emaw kal zel dan chungchangah progress bar awlsam tak, mahse inthlak danglam thei tak tak hmangin feedback thar ber ber pe rawh.
Cross-browser hmanga hman theih a ni
Progress bar-ah hian CSS3 transition leh animation hmangin an effect thenkhat an hmu thei a. Heng features te hi Internet Explorer 9 leh a hnuai lam emaw Firefox version hlui zawkah chuan a support lo. Opera 12 hian animation a support lo.
Content Security Policy (CSP) nena inmil tur a ni
I website hian Content Security Policy (CSP) a neih chuan a phal lo a nih chuan a hnuaia kan entir ang hian style-src 'unsafe-inline'inline attribute hmangin progress bar widths i set thei dawn lo . styleCSP khauh tak nena inmil width set dan dang chu custom JavaScript tlem (that set element.style.width) hman emaw, custom CSS class hman emaw a ni.
Entirna bulpui ber
Default ah chuan progress bar a awm.
60% a tling tawh
Label nen
<span>Progress bar chhung atang chuan with class chu la chhuakin .sr-onlypercentage hmuh theih a lantir ang.
60% a ni.
Percentage hniam tak tak pawha label text chhiar theiha a awm reng theih nan min-width, progress bar-ah a dah belh ngaihtuah rawh.
0% a ni.
2% a ni.
Contextual a danglamna tur
Progress bar-ah hian style inang lo tak tak siam nan button leh alert class inang thenkhat an hmang thin.
40% Complete (hlawhtlinna) .
20% a tling tawh
60% Complete (vaukhânna) .
80% Complete (hlauhawm) .
Striped a ni
Gradient hmangin striped effect a siam thin. IE9 leh a hnuai lamah a awm lo.
40% Complete (hlawhtlinna) .
20% a tling tawh
60% Complete (vaukhânna) .
80% Complete (hlauhawm) .
Animated a ni
Add .activeto .progress-bar-stripedah hian stripes te chu dinglam atanga veilam ah animate theih nan. IE9 leh a hnuai lamah a awm lo.
45% a tling zo tawh
Stacked a ni
Bar tam tak chu pakhatah dah la .progress, stack rawh.
35% Complete (hlawhtlinna) .
20% Complete (vaukhânna) .
10% Complete (hlauhawm) .
Media thil tum a ni
Textual content bulah left- or right-aligned image awmna component chi hrang hrang (blog comment, Tweet, etc ang chi) siamna tur abstract object styles.
Media hmasa ber a ni
Default media hian content block veilam emaw dinglam emaw-ah media object (images, video, audio) a tarlang a.
Media heading a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis. A rilru a buai em em a, a rilru a hah em em bawk a. vulputate fringilla. Faucibus ah hian Donec lacinia congue felis a awm a.
Media heading a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis. A rilru a buai em em a, a rilru a hah em em bawk a. vulputate fringilla. Faucibus ah hian Donec lacinia congue felis a awm a.
Nested media heading tih a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis. A rilru a buai em em a, a rilru a hah em em bawk a. vulputate fringilla. Faucibus ah hian Donec lacinia congue felis a awm a.
Media heading a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis.
Media heading a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis.
The classes .pull-leftand .pull-rightalso exist leh a hmain media component-a tel angin hman a ni tawh a, mahse chu hmanna atan chuan v3.3.0 atang khan hman loh a ni. .media-leftAnni chu leh , nen an inang tlangpui a , chu chu html-a the hnua dah tur .media-righttih loh chu ..media-right.media-body
Media inzawmna siam a ni
Thlalak emaw media dang emaw chu a chung lam, a laiah, a hnuai lamah a inmil thei bawk. Default chu top aligned a ni.
Top aligned media a awm bawk
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis. A rilru a buai em em a, a rilru a hah em em bawk a. vulputate fringilla. Faucibus ah hian Donec lacinia congue felis a awm a.
Donec sed odio dui. A rilru a buai em em a, a rilru a hah em em bawk a. Nullam quis risus eget urna mollis ornare vel eu leo. A rilru a buai em em a, a rilru a hah em em bawk a, a rilru a buai em em bawk a. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Middle aligned media te an ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis. A rilru a buai em em a, a rilru a hah em em bawk a. vulputate fringilla. Faucibus ah hian Donec lacinia congue felis a awm a.
Donec sed odio dui. A rilru a buai em em a, a rilru a hah em em bawk a. Nullam quis risus eget urna mollis ornare vel eu leo. A rilru a buai em em a, a rilru a hah em em bawk a, a rilru a buai em em bawk a. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Bottom aligned media a awm bawk
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis. A rilru a buai em em a, a rilru a hah em em bawk a. vulputate fringilla. Faucibus ah hian Donec lacinia congue felis a awm a.
Donec sed odio dui. A rilru a buai em em a, a rilru a hah em em bawk a. Nullam quis risus eget urna mollis ornare vel eu leo. A rilru a buai em em a, a rilru a hah em em bawk a, a rilru a buai em em bawk a. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
Media list a ni
Extra markup tlem tal i neih chuan media inside list (comment thread emaw article list emaw atan a tangkai) i hmang thei ang.
Media heading a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis.
Nested media heading tih a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis.
Nested media heading tih a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis.
Nested media heading tih a ni
Cras thu amet nibh libero, in gravida nulla. A rilru a buai em em a, a rilru a hah em em bawk a. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. vulputate at, tempus viverra turpis.
List group a awm
List groups hi element list awlsam tak mai ni lovin, custom content nei complex tak takte pholanna atana hmanraw danglam leh chak tak a ni.
Entirna bulpui ber
List group bulpui ber chu list items awmna unordered list mai a ni a, class dik tak te pawh a awm bawk. A hnuaia option awmte hmangin a chungah build la, a nih loh leh a tul angin nangmah ngeiin CSS siam rawh.
Cras justo odio a ni
Dapibus ac facilisis ah hian a awm a
Morbi leo risus tih a ni
Porta ac consectetur a ni a, a hlawhtling hle
Vestibulum chu eros-ah a awm
Badge te pawh a awm
List group item eng pawhah badges component chu dah la, dinglamah a awm nghal mai ang.
14 a niCras justo odio a ni
2. 2.Dapibus ac facilisis ah hian a awm a
1. a niMorbi leo risus tih a ni
Linked thil awmte
List group items te chu list items aiah anchor tags hmangin linkify rawh (chu chu an tih loh chuan parent tihna pawh a ni bawk <div>) <ul>. Element tinte chhehvelah nu leh pa pakhat zel awm a ngai lo.
<div>List group items chu list items aiah buttons a ni thei (chu chu parent ai chuan parent tihna pawh a ni thei bawk <ul>). Element tinte chhehvelah nu leh pa pakhat zel awm a ngai lo. Hetah hian standard class te hi hmang suh ..btn
Disabled thil te
Disabled anga lang turin a gray out turin .disabledadd rawh ..list-group-item
A tul ngai lo nain, a chang chuan i DOM chu box chhungah dah a ngai thin. Chutiang dinhmun atan chuan panel component kha han en teh.
Entirna bulpui ber
Default-ah chuan .panela tih tur awm chhun chu basic border leh padding thenkhat apply a, content engemaw zat a awm theih nan.
Basic panel entirnan
Panel ah chuan heading a awm
I panel ah awlsam takin heading container dah la .panel-heading. Tin, eng pawh i dah tel thei bawk <h1>- class <h6>neiin .panel-titlepre-styled heading dah belh theih a ni. <h1>Mahse, - a font size te <h6>chu .panel-heading.
Link coloring dik tak neih duh chuan heading chhungah link te chu .panel-title.
Panel heading title nei lo
Panel chhunga thu awmte
Panel hming a ni
Panel chhunga thu awmte
Panel a footer a awm bawk
Button emaw secondary text emaw chu .panel-footer. Panel footer te hian contextual variation kan hman hian foreground-a awm tur a nih loh avangin color leh border an inherit lo tih hre reng ang che.
Panel chhunga thu awmte
Contextual a danglamna tur
Component dang ang bawkin awlsam takin panel chu contextual state class eng emaw zat dah belhin context bik atan awmze nei zawka siam rawh.
Panel hming a ni
Panel chhunga thu awmte
Panel hming a ni
Panel chhunga thu awmte
Panel hming a ni
Panel chhunga thu awmte
Panel hming a ni
Panel chhunga thu awmte
Panel hming a ni
Panel chhunga thu awmte
Table te nen
.tablePanel chhungah non-bordered eng pawh dah la , seamless design a awm thei ang. , a awm chuan .panel-bodyseparation atan table chung lamah extra border kan dah belh thin.
Panel tih thupui hmangin
Hetah hian default panel content thenkhat. Nulla vitae elit libero tih hi a ni a, a man pawh a tlawm hle. Aenean lacinia bibendum chu a hring dup a, a hring dup bawk. Aenean eu leo quam a ni. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. Nullam id dolor id nibh ultricies lirthei ut id elit.
# a ni.
Hming hmasa
Hming hnuhnung
User hming a ni
1. a ni
Mark
Otto chuan a ti a
@mdo a ni
2. 2.
Jakoba chu a ni
Thornton-a chuan a ti a
@thau
3. A ni
Larry chuan a ti a
chu Sava chu a ni
@twitter ah a awm
Panel body a awm loh chuan component chu panel header atanga table dangah tihtawp lohvin a kal thin.
Hetah hian default panel content thenkhat. Nulla vitae elit libero tih hi a ni a, a man pawh a tlawm hle. Aenean lacinia bibendum chu a hring dup a, a hring dup bawk. Aenean eu leo quam a ni. A rilru a hah lutuk chuan a rilru a buai em em a, a rilru a hah lutuk chuan a rilru a buai em em bawk a. Nullam id dolor id nibh ultricies lirthei ut id elit.
Cras justo odio a ni
Dapibus ac facilisis ah hian a awm a
Morbi leo risus tih a ni
Porta ac consectetur a ni a, a hlawhtling hle
Vestibulum chu eros-ah a awm
Chhanna pe thei embed
Browser te chu an containing block zau zawng atanga video emaw slideshow dimension te hriat theihna tur intrinsic ratio siamin eng device ah pawh uluk taka scale thei tur siamsak rawh.
<iframe>Rules chu , <embed>, <video>, leh <object>element -ah te direct-in hman a ni a ; .embed-responsive-itemoptional chuan attribute dangte tana styling inmil duh hunah explicit descendant class hmang ang che.
Pro-Tip a ni! Chu chu kan override che avangin frameborder="0"i s ah hian i telh a ngai lo .<iframe>
Wells a ni
Default tha tak a ni
Element pakhata inset effect pe turin well chu simple effect angin hmang ang che.
En teh, tuikhuah chhungah ka awm a!
Class thlan theih a ni
Control padding leh rounded corner te chu optional modifier class pahnih hmangin a awm bawk.