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-volume-off tih 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-a alphabet hrang hranga thliar hran-alt
  • glyphicon glyphicon-a thliar hrang tur a ni
  • glyphicon glyphicon-a thliar hrang thei-a order-alt
  • glyphicon glyphicon-a thliar hrang tur a ni
  • glyphicon glyphicon-a thil awm dan hrang hranga thliar hran-alt
  • glyphicon glyphicon-a enfiah loh
  • glyphicon glyphicon-a tihzauh theih
  • glyphicon glyphicon-a tlakbuak thei
  • glyphicon glyphicon-a tlakbuak dan
  • glyphicon glyphicon-a lo lut tur a ni
  • glyphicon a ni a, a hlimthla a ni
  • glyphicon glyphicon-a chhuak tur a ni
  • glyphicon glyphicon-thar-window tih a ni
  • glyphicon chuan a ziak a ni
  • glyphicon chuan a rawn ti a
  • glyphicon glyphicon-a hawn theih
  • glyphicon glyphicon hmanga chhanchhuah a ni
  • glyphicon glyphicon-a luh theihna tur
  • glyphicon glyphicon-a thawn chhuah theih a ni
  • glyphicon glyphicon-a thawn chhuak thin
  • glyphicon chuan a rawn ti a
  • glyphicon glyphicon-floppy hmanga chhanchhuah a ni
  • glyphicon glyphicon-floppy-a chhuahna tur a ni
  • glyphicon chuan a rawn ti a
  • glyphicon glyphicon-floppy-a hawn theih a ni
  • glyphicon chuan a rawn ti a
  • glyphicon glyphicon-a chhuahna tur a ni
  • glyphicon glyphicon-cutlery hmanga siam a ni
  • glyphicon glyphicon-a thupui hmanga ziah a ni
  • glyphicon glyphicon-a tihkhawtlai a ni
  • glyphicon hmanga bengchheng tak 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 chuan a rawn ti a
  • glyphicon glyphicon-a thuziak te pawh a awm
  • glyphicon glyphicon-a aw-stereo tih a ni
  • glyphicon chuan a rawn ti a
  • glyphicon glyphicon-a aw-5-1 a ni
  • glyphicon glyphicon-a aw-6-1 a ni
  • glyphicon glyphicon-a aw-7-1 a ni
  • glyphicon glyphicon-a ziaktu dik tak chhinchhiahna
  • glyphicon glyphicon-a hming ziahluh-na chhinchhiahna
  • glyphicon glyphicon-chhûm-a download theih a ni
  • glyphicon glyphicon-a chhum-a upload theih a ni
  • glyphicon glyphicon-thing-a hnah hring hring
  • glyphicon glyphicon-thing-a hnah tla thei
  • glyphicon chuan a rawn ti a
  • glyphicon glyphicon-a dahkhawmna file a ni
  • glyphicon glyphicon-a hawng-file a ni
  • glyphicon glyphicon-level-a sang zawka awm
  • glyphicon chuan a rawn ti a
  • glyphicon chu a hmin thei lo
  • glyphicon chuan a rawn ti a
  • glyphicon glyphicon-equalizer hmanga siam a ni
  • glyphicon chuan a rawn ti a
  • glyphicon glyphicon-lalnu a ni
  • glyphicon chu a hlimthla a ni
  • glyphicon glyphicon-bishop a ni tih a sawi bawk
  • glyphicon chuan a rawn ti a
  • glyphicon glyphicon-nausen-a siam a ni
  • glyphicon chu a hlimthla a ni
  • glyphicon glyphicon-a rawng dum a ni
  • glyphicon chu a hlimthla a ni
  • glyphicon chuan a rawn ti a
  • glyphicon a ni a, a hlimthla a ni
  • 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>.

Empty elements-a 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 .
  • Less compiler-in a pek relative URLs option kha hmang 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.

<span class="glyphicon glyphicon-search" aria-hidden="true"></span>

Entirna te

Button-ah te, toolbar atan button group-ah te, navigation-ah te, prepended form input-ah te hmang ang che.

<button type="button" class="btn btn-default" aria-label="Left Align">
  <span class="glyphicon glyphicon-align-left" aria-hidden="true"></span>
</button>

<button type="button" class="btn btn-default btn-lg">
  <span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star
</button>

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.

<div class="alert alert-danger" role="alert">
  <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
  <span class="sr-only">Error:</span>
  Enter a valid email address
</div>

Dropdown te pawh a awm

Link list tarlanna tur toggleable, contextual menu a awm bawk. Dropdown JavaScript plugin hmangin interactive taka siam a ni .

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.

<div class="dropdown">
  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
    Dropdown
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
    <li><a href="#">Action</a></li>
    <li><a href="#">Another action</a></li>
    <li><a href="#">Something else here</a></li>
    <li role="separator" class="divider"></li>
    <li><a href="#">Separated link</a></li>
  </ul>
</div>

Dropdown menu te chu parent-ah dahin chunglam (hnuai lam ai chuan) expand turin a thlak theih .dropup.

<div class="dropup">
  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Dropup
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" aria-labelledby="dropdownMenu2">
    <li><a href="#">Action</a></li>
    <li><a href="#">Another action</a></li>
    <li><a href="#">Something else here</a></li>
    <li role="separator" class="divider"></li>
    <li><a href="#">Separated link</a></li>
  </ul>
</div>

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.

<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dLabel">
  ...
</ul>

Dropdown menu eng pawha action section hrang hrangte label turin header dah la.

<ul class="dropdown-menu" aria-labelledby="dropdownMenu3">
  ...
  <li class="dropdown-header">Dropdown header</li>
  ...
</ul>

Dropdown menu-a link series hrang hrang awmte chu divider dah la.

<ul class="dropdown-menu" aria-labelledby="dropdownMenuDivider">
  ...
  <li role="separator" class="divider"></li>
  ...
</ul>

Link kha disable turin dropdown ah .disableda ah dah la .<li>

<ul class="dropdown-menu" aria-labelledby="dropdownMenu4">
  <li><a href="#">Regular link</a></li>
  <li class="disabled"><a href="#">Disabled link</a></li>
  <li><a href="#">Another link</a></li>
</ul>

Button group hrang hrang te

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.

<div class="btn-group" role="group" aria-label="...">
  <button type="button" class="btn btn-default">Left</button>
  <button type="button" class="btn btn-default">Middle</button>
  <button type="button" class="btn btn-default">Right</button>
</div>

Button hmangin hmanrua a awm

Complex components tam zawk atan sets of <div class="btn-group">into a combine rawh.<div class="btn-toolbar">

<div class="btn-toolbar" role="toolbar" aria-label="...">
  <div class="btn-group" role="group" aria-label="...">...</div>
  <div class="btn-group" role="group" aria-label="...">...</div>
  <div class="btn-group" role="group" aria-label="...">...</div>
</div>

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




<div class="btn-group btn-group-lg" role="group" aria-label="...">...</div>
<div class="btn-group" role="group" aria-label="...">...</div>
<div class="btn-group btn-group-sm" role="group" aria-label="...">...</div>
<div class="btn-group btn-group-xs" role="group" aria-label="...">...</div>

Nesting tih a ni

Dropdown menus button series nena mix i duh hunah a .btn-groupdang chhungah dah rawh ..btn-group

<div class="btn-group" role="group" aria-label="...">
  <button type="button" class="btn btn-default">1</button>
  <button type="button" class="btn btn-default">2</button>

  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
      Dropdown
      <span class="caret"></span>
    </button>
    <ul class="dropdown-menu">
      <li><a href="#">Dropdown link</a></li>
      <li><a href="#">Dropdown link</a></li>
    </ul>
  </div>
</div>

Vertical atanga inthlak danglamna

Button set pakhat chu horizontal-a awm lovin vertical-a stack-a lang turin siam rawh. Hetah hian split button dropdown hi a support lo.

<div class="btn-group-vertical" role="group" aria-label="...">
  ...
</div>

Button group dik tak a ni

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

Buttons justify nana hman HTML leh CSS bik (chu chu display: table-cell) avang hian an inkar border 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.

Hrechiang duh tan #12476 en rawh .

<a>Elements te nen

.btns series pakhat chu wrap mai rawh .btn-group.btn-group-justified.

<div class="btn-group btn-group-justified" role="group" aria-label="...">
  ...
</div>

Links te chu button angin an thawk a

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.

<div class="btn-group btn-group-justified" role="group" aria-label="...">
  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default">Left</button>
  </div>
  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default">Middle</button>
  </div>
  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default">Right</button>
  </div>
</div>

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.

Button pakhat chauh a dropdown a

Button pakhat chu dropdown toggle ah chantir la, markup thlak danglamna bulpui thenkhat nen.

<!-- Single button -->
<div class="btn-group">
  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Action <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    <li><a href="#">Action</a></li>
    <li><a href="#">Another action</a></li>
    <li><a href="#">Something else here</a></li>
    <li role="separator" class="divider"></li>
    <li><a href="#">Separated link</a></li>
  </ul>
</div>

Split button a rawn lang ang

Chutiang bawkin split button dropdown siam la, markup thlak danglam ang chiah kha siam la, button hran chauh hmangin siam rawh.

<!-- Split button -->
<div class="btn-group">
  <button type="button" class="btn btn-danger">Action</button>
  <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <span class="caret"></span>
    <span class="sr-only">Toggle Dropdown</span>
  </button>
  <ul class="dropdown-menu">
    <li><a href="#">Action</a></li>
    <li><a href="#">Another action</a></li>
    <li><a href="#">Something else here</a></li>
    <li role="separator" class="divider"></li>
    <li><a href="#">Separated link</a></li>
  </ul>
</div>

Sizing a ni

Button dropdown hian button size hrang hrang hmangin hna a thawk thei.

<!-- Large button group -->
<div class="btn-group">
  <button class="btn btn-default btn-lg dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Large button <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    ...
  </ul>
</div>

<!-- Small button group -->
<div class="btn-group">
  <button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Small button <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    ...
  </ul>
</div>

<!-- Extra small button group -->
<div class="btn-group">
  <button class="btn btn-default btn-xs dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Extra small button <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    ...
  </ul>
</div>

Dropup danglamna a awm

Element chunga dropdown menu te .dropupchu parent ah dahin trigger rawh.

<div class="btn-group dropup">
  <button type="button" class="btn btn-default">Dropup</button>
  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <span class="caret"></span>
    <span class="sr-only">Toggle Dropdown</span>
  </button>
  <ul class="dropdown-menu">
    <!-- Dropdown menu links -->
  </ul>
</div>

Input group hrang hrang te

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 chhan chu an rowsattribute hi a then 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.

@ a ni.

@entir nan.com ah hian

$ a ni .00 a ni

https://entirnan.com/users/ ah hian a awm a.
<div class="input-group">
  <span class="input-group-addon" id="basic-addon1">@</span>
  <input type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1">
</div>

<div class="input-group">
  <input type="text" class="form-control" placeholder="Recipient's username" aria-describedby="basic-addon2">
  <span class="input-group-addon" id="basic-addon2">@example.com</span>
</div>

<div class="input-group">
  <span class="input-group-addon">$</span>
  <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
  <span class="input-group-addon">.00</span>
</div>

<label for="basic-url">Your vanity URL</label>
<div class="input-group">
  <span class="input-group-addon" id="basic-addon3">https://example.com/users/</span>
  <input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3">
</div>

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.

@ a ni.

@ a ni.

@ a ni.
<div class="input-group input-group-lg">
  <span class="input-group-addon" id="sizing-addon1">@</span>
  <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon1">
</div>

<div class="input-group">
  <span class="input-group-addon" id="sizing-addon2">@</span>
  <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon2">
</div>

<div class="input-group input-group-sm">
  <span class="input-group-addon" id="sizing-addon3">@</span>
  <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon3">
</div>

Checkbox leh radio addon te pawh a awm bawk

Input group addon chhungah text aiah checkbox emaw radio option eng pawh dah rawh.

<div class="row">
  <div class="col-lg-6">
    <div class="input-group">
      <span class="input-group-addon">
        <input type="checkbox" aria-label="...">
      </span>
      <input type="text" class="form-control" aria-label="...">
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
  <div class="col-lg-6">
    <div class="input-group">
      <span class="input-group-addon">
        <input type="radio" aria-label="...">
      </span>
      <input type="text" class="form-control" aria-label="...">
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
</div><!-- /.row -->

Button add a awm bawk

Input group-a button awmte hi a danglam deuh a, nesting level khat extra a ngai a ni. , tih 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.

<div class="row">
  <div class="col-lg-6">
    <div class="input-group">
      <span class="input-group-btn">
        <button class="btn btn-default" type="button">Go!</button>
      </span>
      <input type="text" class="form-control" placeholder="Search for...">
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
  <div class="col-lg-6">
    <div class="input-group">
      <input type="text" class="form-control" placeholder="Search for...">
      <span class="input-group-btn">
        <button class="btn btn-default" type="button">Go!</button>
      </span>
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
</div><!-- /.row -->

Buttons a awm a, dropdown a awm bawk

<div class="row">
  <div class="col-lg-6">
    <div class="input-group">
      <div class="input-group-btn">
        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Action <span class="caret"></span></button>
        <ul class="dropdown-menu">
          <li><a href="#">Action</a></li>
          <li><a href="#">Another action</a></li>
          <li><a href="#">Something else here</a></li>
          <li role="separator" class="divider"></li>
          <li><a href="#">Separated link</a></li>
        </ul>
      </div><!-- /btn-group -->
      <input type="text" class="form-control" aria-label="...">
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
  <div class="col-lg-6">
    <div class="input-group">
      <input type="text" class="form-control" aria-label="...">
      <div class="input-group-btn">
        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Action <span class="caret"></span></button>
        <ul class="dropdown-menu dropdown-menu-right">
          <li><a href="#">Action</a></li>
          <li><a href="#">Another action</a></li>
          <li><a href="#">Something else here</a></li>
          <li role="separator" class="divider"></li>
          <li><a href="#">Separated link</a></li>
        </ul>
      </div><!-- /btn-group -->
    </div><!-- /input-group -->
  </div><!-- /.col-lg-6 -->
</div><!-- /.row -->

Segmented a awm a

<div class="input-group">
  <div class="input-group-btn">
    <!-- Button and dropdown menu -->
  </div>
  <input type="text" class="form-control" aria-label="...">
</div>

<div class="input-group">
  <input type="text" class="form-control" aria-label="...">
  <div class="input-group-btn">
    <!-- Button and dropdown menu -->
  </div>
</div>

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 .

<div class="input-group">
  <div class="input-group-btn">
    <!-- Buttons -->
  </div>
  <input type="text" class="form-control" aria-label="...">
</div>

<div class="input-group">
  <input type="text" class="form-control" aria-label="...">
  <div class="input-group-btn">
    <!-- Buttons -->
  </div>
</div>

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.

Class hian base class .nav-tabsa mamawh tih hre reng ang che ..nav

<ul class="nav nav-tabs">
  <li role="presentation" class="active"><a href="#">Home</a></li>
  <li role="presentation"><a href="#">Profile</a></li>
  <li role="presentation"><a href="#">Messages</a></li>
</ul>

Chu HTML tho chu la la, mahse chu .nav-pillsai chuan hmang zawk rawh:

<ul class="nav nav-pills">
  <li role="presentation" class="active"><a href="#">Home</a></li>
  <li role="presentation"><a href="#">Profile</a></li>
  <li role="presentation"><a href="#">Messages</a></li>
</ul>

Pills pawh vertically stack theih a ni bawk. Add mai rawh .nav-stacked.

<ul class="nav nav-pills nav-stacked">
  ...
</ul>

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 .

<ul class="nav nav-tabs nav-justified">
  ...
</ul>
<ul class="nav nav-pills nav-justified">
  ...
</ul>

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.

<ul class="nav nav-pills">
  ...
  <li role="presentation" class="disabled"><a href="#">Disabled link</a></li>
  ...
</ul>

Dropdown menu te chu HTML tlem tal extra leh dropdowns JavaScript plugin te nen add rawh .

Tabs ah hian dropdown a awm bawk

<ul class="nav nav-tabs">
  ...
  <li role="presentation" class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
      Dropdown <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
      ...
    </ul>
  </li>
  ...
</ul>

Pills leh dropdown te

<ul class="nav nav-pills">
  ...
  <li role="presentation" class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
      Dropdown <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
      ...
    </ul>
  </li>
  ...
</ul>

Navbar a ni

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:

  1. Navbar thil awm zat emaw a zau zawng emaw tihtlem rawh.
  2. Responsive utility class hmangin screen size thenkhatah navbar item thenkhat thup rawh .
  3. 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.

Responsive navbar ah hian Bootstrap version ah collapse plugin kha dah tel a ngai a.

Mobile navbar breakpoint tlak 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"

<nav class="navbar navbar-default">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">Brand</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
        <li><a href="#">Link</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">One more separated link</a></li>
          </ul>
        </li>
      </ul>
      <form class="navbar-form navbar-left">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search">
        </div>
        <button type="submit" class="btn btn-default">Submit</button>
      </form>
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#">Link</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

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.

<nav class="navbar navbar-default">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">
        <img alt="Brand" src="...">
      </a>
    </div>
  </div>
</nav>

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.

<form class="navbar-form navbar-left" role="search">
  <div class="form-group">
    <input type="text" class="form-control" placeholder="Search">
  </div>
  <button type="submit" class="btn btn-default">Submit</button>
</form>

Mobile device hmanga hriattirna

Mobile device-a fixed element chhunga form control hman chungchangah hian caveat thenkhat a awm. A chipchiar zawkna chu kan browser support docs ah hian en rawh .

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. .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.

a-a awm lo element-te chu navbar-a vertical-a center turin .navbar-btnclass chu dah la .<button><form>

<button type="button" class="btn btn-default navbar-btn">Sign in</button>

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

Text string te chu element pakhatah , hmangin wrap la .navbar-text, a tlangpuiin <p>tag-ah leading leh color dik tak neih theih nan.

<p class="navbar-text">Signed in as Mark Otto</p>

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.

<p class="navbar-text navbar-right">Signed in as <a href="#" class="navbar-link">Mark Otto</a></p>

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.

Heng class te hi mixin-ed version of .pull-leftand .pull-right, mahse device size hrang hranga navbar component awlsam zawka hman theih nan media query-ah scoped an ni.

Component tam tak right aligning a ni

Tunah hian Navbars hian .navbar-rightclass tam tak awmnaah 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 or to center leh pad navbar content te dah la .navbar-fixed-top, dah tel bawk ang che..container.container-fluid

<nav class="navbar navbar-default navbar-fixed-top">
  <div class="container">
    ...
  </div>
</nav>

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.

body { padding-top: 70px; }

Hei hi core Bootstrap CSS hnuah pawh telh ngei ngei tur a ni.

A or to center leh pad navbar content te dah la .navbar-fixed-bottom, dah tel bawk ang che..container.container-fluid

<nav class="navbar navbar-default navbar-fixed-bottom">
  <div class="container">
    ...
  </div>
</nav>

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.

body { padding-bottom: 70px; }

Hei hi core Bootstrap CSS hnuah pawh telh ngei ngei tur 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.

<nav class="navbar navbar-default navbar-static-top">
  <div class="container">
    ...
  </div>
</nav>

Navbar a hmel chu add in siam danglam rawh .navbar-inverse.

<nav class="navbar navbar-inverse">
  ...
</nav>

Chhangphut chi hrang hrang

Navigational hierarchy chhunga page awm mek awmna chu tarlang rawh.

CSS ah hian separator te chu automatic in :beforeleh content.

<ol class="breadcrumb">
  <li><a href="#">Home</a></li>
  <li><a href="#">Library</a></li>
  <li class="active">Data</li>
</ol>

Pagination tih a ni

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.

<nav aria-label="Page navigation">
  <ul class="pagination">
    <li>
      <a href="#" aria-label="Previous">
        <span aria-hidden="true">&laquo;</span>
      </a>
    </li>
    <li><a href="#">1</a></li>
    <li><a href="#">2</a></li>
    <li><a href="#">3</a></li>
    <li><a href="#">4</a></li>
    <li><a href="#">5</a></li>
    <li>
      <a href="#" aria-label="Next">
        <span aria-hidden="true">&raquo;</span>
      </a>
    </li>
  </ul>
</nav>

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 .

<nav aria-label="...">
  <ul class="pagination">
    <li class="disabled"><a href="#" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>
    <li class="active"><a href="#">1 <span class="sr-only">(current)</span></a></li>
    ...
  </ul>
</nav>

Kan rawtna chu active emaw disabled emaw anchor te chu , atan swap out la <span>, a nih loh leh arrow hmasa/a awm a nih chuan anchor chu paih chhuak la, click functionality tihbo nan style ruahmante chu vawng reng rawh.

<nav aria-label="...">
  <ul class="pagination">
    <li class="disabled">
      <span>
        <span aria-hidden="true">&laquo;</span>
      </span>
    </li>
    <li class="active">
      <span>1 <span class="sr-only">(current)</span></span>
    </li>
    ...
  </ul>
</nav>

Sizing a ni

Pagination lian zawk emaw, te zawk emaw i duh em? Add .pagination-lgemaw .pagination-smsize dang atan emaw.

<nav aria-label="..."><ul class="pagination pagination-lg">...</ul></nav>
<nav aria-label="..."><ul class="pagination">...</ul></nav>
<nav aria-label="..."><ul class="pagination pagination-sm">...</ul></nav>

Pager a ni

Light markup leh style hrang hranga 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.

<nav aria-label="...">
  <ul class="pager">
    <li><a href="#">Previous</a></li>
    <li><a href="#">Next</a></li>
  </ul>
</nav>

A dang pawhin link tin chu a sir lamah i align thei bawk:

<nav aria-label="...">
  <ul class="pager">
    <li class="previous"><a href="#"><span aria-hidden="true">&larr;</span> Older</a></li>
    <li class="next"><a href="#">Newer <span aria-hidden="true">&rarr;</span></a></li>
  </ul>
</nav>

Optional disabled state a ni

Pager link te hian .disabledpagination atanga general utility class an hmang bawk.

<nav aria-label="...">
  <ul class="pager">
    <li class="previous disabled"><a href="#"><span aria-hidden="true">&larr;</span> Older</a></li>
    <li class="next"><a href="#">Newer <span aria-hidden="true">&rarr;</span></a></li>
  </ul>
</nav>

Labels te pawh a awm

Entirna

Entirna thupui thar

Entirna thupui thar

Entirna thupui thar

Entirna thupui thar

Entirna thupui thar
Entirna thupui thar
<h3>Example heading <span class="label label-default">New</span></h3>

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
<span class="label label-default">Default</span>
<span class="label label-primary">Primary</span>
<span class="label label-success">Success</span>
<span class="label label-info">Info</span>
<span class="label label-warning">Warning</span>
<span class="label label-danger">Danger</span>

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.

Inbox ah a awm42 a ni

<a href="#">Inbox <span class="badge">42</span></a>

<button class="btn btn-primary" type="button">
  Messages <span class="badge">4</span>
</button>

Mahni intlansiakna

Thil thar emaw chhiar loh emaw a awm loh chuan badge te chu a collapse mai ang (CSS’s :emptyselector hmangin) a chhungah content a awm loh chuan.

Cross-browser hmanga hman theih a ni

:emptyInternet Explorer 8 ah hian selector support a neih loh avangin badge te hi a self collapse dawn lo .

Active nav state-ah a insiamrem thei

Pill navigation-a active state-a badge dahna tur built-in styles a awm bawk.

<ul class="nav nav-pills" role="tablist">
  <li role="presentation" class="active"><a href="#">Home <span class="badge">42</span></a></li>
  <li role="presentation"><a href="#">Profile</a></li>
  <li role="presentation"><a href="#">Messages <span class="badge">3</span></a></li>
</ul>

Jumbotron a ni

I site-a key content pholan theihna turin viewport pumpui chu duhthusamin a tizau thei component lightweight, flexible tak a ni.

Hello, khawvel!

Hei hi hero unit awlsam tak a ni a, featured content emaw information emaw ngaihven belh zelna tur jumbotron-style component awlsam tak a ni.

Hriat belh rawh

<div class="jumbotron">
  <h1>Hello, world!</h1>
  <p>...</p>
  <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p>
</div>

Jumbotron chu full width-a siam tur chuan, leh corner rounded awm lovin, .containers zawng zawng pawnah dah la, a .containerchhungah dah belh rawh.

<div class="jumbotron">
  <div class="container">
    ...
  </div>
</div>

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.

<div class="page-header">
  <h1>Example page header <small>Subtext for header</small></h1>
</div>

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.

<div class="row">
  <div class="col-xs-6 col-md-3">
    <a href="#" class="thumbnail">
      <img src="..." alt="...">
    </a>
  </div>
  ...
</div>

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.

100%x200 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.

Kawrkilh Kawrkilh

100%x200 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.

Kawrkilh Kawrkilh

100%x200 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.

Kawrkilh Kawrkilh

<div class="row">
  <div class="col-sm-6 col-md-4">
    <div class="thumbnail">
      <img src="..." alt="...">
      <div class="caption">
        <h3>Thumbnail label</h3>
        <p>...</p>
        <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
      </div>
    </div>
  </div>
</div>

Alerts a awm bawk

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.

<div class="alert alert-success" role="alert">...</div>
<div class="alert alert-info" role="alert">...</div>
<div class="alert alert-warning" role="alert">...</div>
<div class="alert alert-danger" role="alert">...</div>

Dismissible alerts a awm bawk

Alert eng pawh hmangin optional .alert-dismissibleleh close button dahin build rawh.

JavaScript alert plugin a ngai a ni

Full functioning, dismissible alerts atan chuan alerts JavaScript plugin i hmang tur a ni.

<div class="alert alert-warning alert-dismissible" role="alert">
  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  <strong>Warning!</strong> Better check yourself, you're not looking too good.
</div>

Device zawng zawngah nungchang dik tak siam rawh

Data attribute <button>awmna element chu hmang ngei ang che .data-dismiss="alert"

.alert-linkAlert eng pawh chhungah rang taka matching colored links pe turin utility class hmang ang che .

<div class="alert alert-success" role="alert">
  <a href="#" class="alert-link">...</a>
</div>
<div class="alert alert-info" role="alert">
  <a href="#" class="alert-link">...</a>
</div>
<div class="alert alert-warning" role="alert">
  <a href="#" class="alert-link">...</a>
</div>
<div class="alert alert-danger" role="alert">
  <a href="#" class="alert-link">...</a>
</div>

Hmasawnna bar te

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
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
    <span class="sr-only">60% Complete</span>
  </div>
</div>

Label nen

<span>Progress bar chhung atang chuan with class chu la chhuakin .sr-onlypercentage hmuh theih a lantir ang.

60% a ni.
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
    60%
  </div>
</div>

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.
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em;">
    0%
  </div>
</div>
<div class="progress">
  <div class="progress-bar" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em; width: 2%;">
    2%
  </div>
</div>

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) .
<div class="progress">
  <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
    <span class="sr-only">40% Complete (success)</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
    <span class="sr-only">20% Complete</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
    <span class="sr-only">60% Complete (warning)</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
    <span class="sr-only">80% Complete (danger)</span>
  </div>
</div>

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) .
<div class="progress">
  <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
    <span class="sr-only">40% Complete (success)</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
    <span class="sr-only">20% Complete</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
    <span class="sr-only">60% Complete (warning)</span>
  </div>
</div>
<div class="progress">
  <div class="progress-bar progress-bar-danger progress-bar-striped" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
    <span class="sr-only">80% Complete (danger)</span>
  </div>
</div>

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
<div class="progress">
  <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%">
    <span class="sr-only">45% Complete</span>
  </div>
</div>

Stack a ni

Bar tam tak chu pakhatah dah la .progress, stack rawh.

35% Complete (hlawhtlinna) .
20% Complete (vaukhânna) .
10% Complete (hlauhawm) .
<div class="progress">
  <div class="progress-bar progress-bar-success" style="width: 35%">
    <span class="sr-only">35% Complete (success)</span>
  </div>
  <div class="progress-bar progress-bar-warning progress-bar-striped" style="width: 20%">
    <span class="sr-only">20% Complete (warning)</span>
  </div>
  <div class="progress-bar progress-bar-danger" style="width: 10%">
    <span class="sr-only">10% Complete (danger)</span>
  </div>
</div>

Media thil tum a ni

Textual content bulah left- or right-aligned image awmna component chi hrang hrang (blog comment, Tweets, 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.
<div class="media">
  <div class="media-left">
    <a href="#">
      <img class="media-object" src="..." alt="...">
    </a>
  </div>
  <div class="media-body">
    <h4 class="media-heading">Media heading</h4>
    ...
  </div>
</div>

The classes .pull-leftleh .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.

<div class="media">
  <div class="media-left media-middle">
    <a href="#">
      <img class="media-object" src="..." alt="...">
    </a>
  </div>
  <div class="media-body">
    <h4 class="media-heading">Middle aligned media</h4>
    ...
  </div>
</div>

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.
<ul class="media-list">
  <li class="media">
    <div class="media-left">
      <a href="#">
        <img class="media-object" src="..." alt="...">
      </a>
    </div>
    <div class="media-body">
      <h4 class="media-heading">Media heading</h4>
      ...
    </div>
  </li>
</ul>

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
<ul class="list-group">
  <li class="list-group-item">Cras justo odio</li>
  <li class="list-group-item">Dapibus ac facilisis in</li>
  <li class="list-group-item">Morbi leo risus</li>
  <li class="list-group-item">Porta ac consectetur ac</li>
  <li class="list-group-item">Vestibulum at eros</li>
</ul>

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
<ul class="list-group">
  <li class="list-group-item">
    <span class="badge">14</span>
    Cras justo odio
  </li>
</ul>

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 class="list-group">
  <a href="#" class="list-group-item active">
    Cras justo odio
  </a>
  <a href="#" class="list-group-item">Dapibus ac facilisis in</a>
  <a href="#" class="list-group-item">Morbi leo risus</a>
  <a href="#" class="list-group-item">Porta ac consectetur ac</a>
  <a href="#" class="list-group-item">Vestibulum at eros</a>
</div>

Button hmanga thil awmte

<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

<div class="list-group">
  <button type="button" class="list-group-item">Cras justo odio</button>
  <button type="button" class="list-group-item">Dapibus ac facilisis in</button>
  <button type="button" class="list-group-item">Morbi leo risus</button>
  <button type="button" class="list-group-item">Porta ac consectetur ac</button>
  <button type="button" class="list-group-item">Vestibulum at eros</button>
</div>

Disabled thil te

Disabled anga lang turin a gray out turin .disabledadd rawh ..list-group-item

<div class="list-group">
  <a href="#" class="list-group-item disabled">
    Cras justo odio
  </a>
  <a href="#" class="list-group-item">Dapibus ac facilisis in</a>
  <a href="#" class="list-group-item">Morbi leo risus</a>
  <a href="#" class="list-group-item">Porta ac consectetur ac</a>
  <a href="#" class="list-group-item">Vestibulum at eros</a>
</div>

Contextual class hrang hrang te

Contextual class hmangin thil style list tur, default emaw linked emaw pawh nise. .activeState pawh a huam tel bawk .

  • Dapibus ac facilisis ah hian a awm a
  • Cras thu amet nibh libero
  • Porta ac consectetur a ni a, a hlawhtling hle
  • Vestibulum chu eros-ah a awm
<ul class="list-group">
  <li class="list-group-item list-group-item-success">Dapibus ac facilisis in</li>
  <li class="list-group-item list-group-item-info">Cras sit amet nibh libero</li>
  <li class="list-group-item list-group-item-warning">Porta ac consectetur ac</li>
  <li class="list-group-item list-group-item-danger">Vestibulum at eros</li>
</ul>
<div class="list-group">
  <a href="#" class="list-group-item list-group-item-success">Dapibus ac facilisis in</a>
  <a href="#" class="list-group-item list-group-item-info">Cras sit amet nibh libero</a>
  <a href="#" class="list-group-item list-group-item-warning">Porta ac consectetur ac</a>
  <a href="#" class="list-group-item list-group-item-danger">Vestibulum at eros</a>
</div>

Custom content a awm bawk

A chhungah HTML eng pawh deuhthaw dah la, a hnuaia linked list group ang chi te tan pawh.

<div class="list-group">
  <a href="#" class="list-group-item active">
    <h4 class="list-group-item-heading">List group item heading</h4>
    <p class="list-group-item-text">...</p>
  </a>
</div>

Panel te pawh a awm

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
<div class="panel panel-default">
  <div class="panel-body">
    Basic panel example
  </div>
</div>

Panel ah chuan heading a awm

awlsam takin i panel-ah heading container dah la, .panel-heading. Tin, eng pawh i dah tel thei bawk <h1>- class <h6>nen .panel-titlepre-styled heading dah belh tur. <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
<div class="panel panel-default">
  <div class="panel-heading">Panel heading without title</div>
  <div class="panel-body">
    Panel content
  </div>
</div>

<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">Panel title</h3>
  </div>
  <div class="panel-body">
    Panel content
  </div>
</div>

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
<div class="panel panel-default">
  <div class="panel-body">
    Panel content
  </div>
  <div class="panel-footer">Panel footer</div>
</div>

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
<div class="panel panel-primary">...</div>
<div class="panel panel-success">...</div>
<div class="panel panel-info">...</div>
<div class="panel panel-warning">...</div>
<div class="panel panel-danger">...</div>

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
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">Panel heading</div>
  <div class="panel-body">
    <p>...</p>
  </div>

  <!-- Table -->
  <table class="table">
    ...
  </table>
</div>

Panel body a awm loh chuan component chu panel header atanga table dangah tihtawp lohvin a kal thin.

Panel tih thupui hmangin
# 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
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">Panel heading</div>

  <!-- Table -->
  <table class="table">
    ...
  </table>
</div>

List group hrang hrang nen

Panel eng pawh chhungah awlsam takin full-width list group te dah tel bawk ang che.

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.

  • 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
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">Panel heading</div>
  <div class="panel-body">
    <p>...</p>
  </div>

  <!-- List group -->
  <ul class="list-group">
    <li class="list-group-item">Cras justo odio</li>
    <li class="list-group-item">Dapibus ac facilisis in</li>
    <li class="list-group-item">Morbi leo risus</li>
    <li class="list-group-item">Porta ac consectetur ac</li>
    <li class="list-group-item">Vestibulum at eros</li>
  </ul>
</div>

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>

<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

<!-- 4:3 aspect ratio -->
<div class="embed-responsive embed-responsive-4by3">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

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!
<div class="well">...</div>

Class thlan theih a ni

Control padding leh rounded corner te chu optional modifier class pahnih hmangin a awm bawk.

En teh, tuikhur lian takah ka awm a!
<div class="well well-lg">...</div>
En teh, tuikhuah te tak teah ka awm a!
<div class="well well-sm">...</div>