Bootstrap-ah hian reusable component dozens zet dah a ni a, hei hian navigation, alerts, popovers leh thil dang tam tak a pe thei a ni.
Ultra simplistic leh minimally styled pagination chu Rdio atanga inspired a ni a, 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.
Link te hi customizable a ni a, class dik tak nen dinhmun engemaw zatah a thawk thei bawk. .disabled
link click theih loh leh .active
tuna page awm mek tan.
Pagination link alignment thlak danglam turin optional class pahnih zinga pakhat tal dah belh rawh: .pagination-centered
leh .pagination-right
.
Default pagination component hi a flexible a, variation hrang hrangah a thawk thei bawk.
Wrapped in a <div>
, pagination chu a <ul>
.
- <div class = "pagination" > tih hi a ni
- <ul> tih a ni
- <li><a href = "#" > Hmanlai </a></li>
- <li class = "active" > tih a ni
- <a href = "#" > 1 </a> tih hi a ni
- </li> tih a ni
- A rilru a buai em em a, a rilru a hah em em bawk a. 2 </a> < /li >
- A rilru a buai em em a, a rilru a hah em em bawk a. 3 </a> < /li >
- A rilru a buai em em a, a rilru a hah em em bawk a. 4 </a> < /li >
- <li><a href = "#" > A dawt leh tur </a></li>
- </ul> tih a ni
- </div> tih a ni
Pager component hi pagination implementation awlsam tak tak, light markup leh style lighter zawk neia link set a ni. Blog emaw magazine emaw ang chi site awlsam tak tak tan chuan a tha hle.
Pager link te hian .disabled
pagination atanga general class an hmang bawk.
Default-ah chuan pager hian link a center a.
- < ul class = "pager" tih hi a ni
- <li> tih a ni
- <a href = "#" > Hmanlai </a>
- </li> tih a ni
- <li> tih a ni
- <a href = "#" > A dawt leh tur </a>
- </li> tih a ni
- </ul> tih a ni
A dang pawhin link tin chu a sir lamah i align thei bawk:
- < ul class = "pager" tih hi a ni
- <li class = "a hma lam" >
- A rilru a buai em em a, a rilru a hah em em bawk a. <a href = "#" > ← Kum upa zawk </a>
- </li> tih a ni
- <li class = "a dawt leh tur" >
- <a href = "#" > A thar zawk → </a> tih a ni
- </li> tih a ni
- </ul> tih a ni
Labels te pawh a awm | Markup a ni |
---|---|
Hlawhchhamna | <span class="label">Default</span> |
Hlawhtling | <span class="label label-success">Success</span> |
Vaulawkna | <span class="label label-warning">Warning</span> |
Pawimawh | <span class="label label-important">Important</span> |
Info | <span class="label label-info">Info</span> |
Inverse a ni | <span class="label label-inverse">Inverse</span> |
Badge hi indicator emaw count chi khat emaw entir nan component te tak te, awlsam tak a ni. Mail.app ang chi email client-ah emaw, mobile app-ah emaw push notification atan an awm tlangpui.
Hming | Entirna | Markup a ni |
---|---|---|
Hlawhchhamna | 1. a ni | <span class="badge">1</span> |
Hlawhtling | 2. 2. | <span class="badge badge-success">2</span> |
Vaulawkna | 4. 4. | <span class="badge badge-warning">4</span> |
Pawimawh | 6. 6. | <span class="badge badge-important">6</span> |
Info | 8. A ni | <span class="badge badge-info">8</span> |
Inverse a ni | 10 a ni | <span class="badge badge-inverse">10</span> |
Bootstrap hian i site-a content pholanna tur hero unit an tih component lightweight, flexible tak a pe a. Marketing leh content tamna site-ah te a thawk tha hle.
div
I content chu like so -in wrap rawh :
- <div class = "mi huaisen-unit" > tih hi a ni
- <h1> Thupui </h1> tih a ni
- <p> Tagline hmangin </p> tih a ni
- <p> tih a ni
- <a class = "btn btn-a bul tanna btn-a lian" >
- Hriat belh rawh
- </a> tih a ni
- </p> tih a ni
- </div> tih a ni
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.
h1
Page pakhata thu awmte chu a remchan dan anga space out leh segment turin shell awlsam tak a ni. A h1
's default small
, element bakah component dang tam zawk (style dang nen) a hmang thei bawk.
- <div class = "phek-a thupui" >
- <h1> Entirna phek header </h1>
- </div> tih a ni
Default-ah chuan Bootstrap-a thumbnail te hi linked images te chu markup mamawh tlem ber hmanga pholan theih tura siam a ni.
Extra markup tlem tal hmangin HTML content chi hrang hrang heading, paragraph, button te chu thumbnail-ah dah theih a ni.
Thumbnail ( .media-grid
a hma chuan v1.4 thleng) hi thlalak emaw video emaw grid, image search result, retail products, portfolio leh thil dang tam tak atan a tha hle. Link emaw static content emaw pawh a ni thei.
Thumbnail markup hi a awlsam hle— element ul
engzat pawh neia awm chu a mamawh vek a ni. li
Super flexible a ni bawk a, i content wrap theihna tur markup tlemte chauh hmangin content chi hrang hrang pawh a phalsak bawk.
A tawp berah chuan thumbnails component hian grid system class awmsa—like .span2
or .span3
—thumbnail dimension control nan a hmang a.
Sawi tawh ang khan thumbnail atana markup mamawh chu a light leh straightforward a ni. Linked images te default setup chu hetiang hian kan rawn tarlang e :
- <ul class = "thumbnail te" > tih a ni
- <li class = "span3" > tih a ni
- <a href = "#" class = "thumbnail" > tih a ni
- <img src = "A hmunhma hi a dik lo a ni" alt = "" >
- </a> tih a ni
- </li> tih a ni
- ...
- </ul> tih a ni
Thumbnail-a custom HTML content atan chuan markup chu a danglam deuh thin. Khawi hmunah pawh block level content phalsak turin kan swap the <a>
for a <div>
like so:
- <ul class = "thumbnail te" > tih a ni
- <li class = "span3" > tih a ni
- <div class = "thumbnail" > tih hi a ni
- <img src = "A hmunhma hi a dik lo a ni" alt = "" >
- <h5> Thumbnail label </h5> tih a ni
- <p> Thumbnail caption chu hetah hian... </p>
- </div> tih a ni
- </li> tih a ni
- ...
- </ul> tih a ni
.alert
Bootstrap 2 hmang hian base class kan ti awlsam a: .alert-message
. Markup mamawh tlem ber pawh kan tihtlem bawk—no <p>
hi default-in a ngai a, outer chauh a <div>
ni.
Code tlem zawk nei component chhe thei lo zawk atan chuan block alerts, padding tam zawk nena rawn kal message leh typically text tam zawk awmna differentiating look chu kan paih chhuak ta a ni. Class pawh a inthlak tawh a .alert-block
.
Bootstrap hian jQuery plugin ropui tak a keng tel a, chu chuan alert message a support a, dismissing pawh a awlsamin a ti awlsam hle.
I message leh optional close icon chu div ah simple class hmangin wrap rawh.
- <div class = "a hriattir" >
- <button class = "khar" data-dismiss = "alert" > × </button> tih a ni
- <strong> Vaukhânna! </strong> Best check yo self, i hmel a tha lutuk lo.
- </div> tih a ni
Lu a ti sang a! iOS device-ah chuan href="#"
alert paih chhuahna atan an mamawh a ni. Anchor close icons atana data attribute te pawh telh ngei ngei tur a ni. A dang pawhin <button>
data attribute nei element i hmang thei bawk a, chu chu kan docs atan tih kan thlang a ni. , i hman hunah chuan <button>
i dah tel tur a ni a, type="button"
chuti lo chuan i form-te chu i thehlut lo thei bawk.
Standard alert message chu awlsam takin optional class pahnih hmangin extend rawh: .alert-block
padding leh text control tam zawk atan leh .alert-heading
heading inmil tur atan.
Best check yo self, i hmel a tha lutuk lo. Nulla vitae elit libero tih hi a ni a, a man pawh a tlawm hle. 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. vel scelerisque nisl consectetur et.
- <div class = "alert-block hriattirna" >
- <a class = "khar" data-dismiss = "alert" href = "#" > × </a>
- <h4 class = "alert-heading" > Vaukhânna! </h4> tih a ni
- Best check yo self, i ni lo...
- </div> tih a ni
- <div class = "alert-a tihsual hriattirna" >
- ...
- </div> tih a ni
- <div class = "alert-hlawhtlinna" >
- ...
- </div> tih a ni
- <div class = "alert-info hriattirna" >
- ...
- </div> tih a ni
Default progress bar ah chuan vertical gradient a awm a.
- <div class = "hmasawnna" >
- <div class = "bar" tih a ni.
- style = " zau zawng : 60 %; " ></div>
- </div> tih a ni
Gradient hmangin striped effect a siam (IE awm lo).
- <div class = "hmasawnna hmasawnna-striped" >
- <div class = "bar" tih a ni.
- style = " zau zawng : 20 %; " ></div>
- </div> tih a ni
Striped entirnan a la a, a animate (IE awm lo).
- <div class = "hmasawnna hmasawnna-striped."
- active" > tih a ni
- <div class = "bar" tih a ni.
- style = " zau zawng : 40 %; " ></div>
- </div> tih a ni
Progress bar-ah hian style inang lo tak tak siam nan button leh alert class inang thenkhat an hmang thin.
Solid color ang bawkin striped progress bar hrang hrang kan nei bawk.
Progress bars hian CSS3 transition an hmang a, chuvangin javascript hmanga width dynamically i adjust chuan smooth takin a resize ang.
.active
Class i hman chuan i .progress-striped
progress bars te hian stripe te chu veilam atanga dinglam thlengin a animate ang.
Progress bar-ah hian CSS3 gradient, transition, leh animation te hmangin an effect zawng zawng an hmu vek a. Heng features te hi IE7-9 emaw Firefox version hlui zawkah chuan a support lo.
Opera leh IE hian tun dinhmunah animation an support lo.
Element pakhata inset effect pe turin well chu simple effect angin hmang ang che.
- <div class = "a tha" > tih hi a ni
- ...
- </div> tih a ni
Modal leh alerts ang chi content dismiss nan generic close icon hmang ang che.
- <button class = "khar" > × </button> tih a ni
iOS devices ah hian anchor i hman duh chuan click events atan href="#" a ngai a ni.
- <a class = "khar" href = "#" > × </a> tih a ni