Fundamental HTML elements style leh tihchangtlun theih class hrang hrang hmanga tihchangtlun.
HTML heading zawng zawng, <h1>
through <h6>
a awm vek.
Bootstrap hian global default font-size
chu 14px a ni a, a line-height
of 20px a ni. Hei hi <body>
paragraph leh paragraph zawng zawngah hman a ni. Chu bakah, <p>
(paragraphs) te chuan an line-height chanve (default-in 10px) bottom margin an dawng bawk.
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. Nullam id dolor id nibh ultricies lirthei.
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. 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. non metus auctor fringilla. A rilru a buai em em a, a rilru a hah em em bawk a, a rilru a buai em em bawk a, a rilru a hah em em bawk 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. non metus auctor fringilla.
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. Donec id elit non mi porta gravida chu eget metus ah a awm a. A rilru a buai em em a, a rilru a hah em em bawk a, a rilru a buai em em bawk a, a rilru a hah em em bawk a, a rilru a hah em em bawk a.
<p> ... </p> tih a ni
Paragraph pakhat chu .lead
.
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. Duis mollis, est non commodo luctus tih a ni a, a man pawh a tlawm hle.
<p class = "hruaitu" > ... </p> tih a ni
Typographic scale hi variable -a LESS variable pahnih atanga siam a ni.less : @baseFontSize
leh @baseLineHeight
. A hmasa ber chu base font-size hman vek a ni a, a pahnihna chu base line-height a ni. Chu variable leh math awlsam tak tak thenkhat hmangin kan type zawng zawng leh a dangte margin, padding, leh line-height te kan siam thin. Customize la, Bootstrap pawh a adapt thei ang.
HTML-a default emphasis tags hmangin style lightweight tak tak hmangin hmang rawh.
<small>
Inline emaw, text block emaw de-emphasizing atan chuan tag te tak te hmang la.
He line of text hi fine print anga ngaih tur a ni.
<p> <small> He line of text hi fine print anga ngaih tur a ni. </small> tih a ni
Font-weight rit zawka thuziak snippet pakhat ngaih pawimawh nan.
A hnuaia thuziak snippet hi bold text angin kan render ang .
<strong> chu bold text anga rendered a ni </strong>
Italic hmanga thuziak snippet pakhat ngaih pawimawh nan.
A hnuaia thuziak snippet hi italicized text anga render a ni .
<em> chu italic-a ziah angin a render a </em>
Lu a ti sang a!Zalen takin hmang la <b>
, <i>
HTML5 ah pawh hman theih a ni. <b>
thumal emaw thumal emaw pawimawhna belhchhah lovin tarlanna tur a nih laiin <i>
a tam zawk chu aw, technical terms, etc. atan a ni.
Text alignment class nei component hrang hrangah awlsam takin text realign theih.
Left aligned thuziak a awm.
Center aligned thuziak.
Thuziak dinglam aligned a ni.
- <p class = "text-left" > Vei lam hawia thuziak. </p> tih a ni
- <p class = "text-center" > A laiah a inmil tur thuziak. </p> tih a ni
- <p class = "text-right" > Thuziak dinglam hawia dah. </p> tih a ni
Emphasis utility class tlemte hmangin colour hmangin awmzia sawi rawh.
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. tortor mauris nibh.
A rilru a buai em em a, a rilru a hah em em bawk a. Etiam porta sem malesuada magna mollis euismod.
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. non metus auctor fringilla.
Aenean eu leo quam a ni. A rilru a buai em em a, a rilru a hah em em bawk a.
A rilru a buai em em a, a rilru a hah em em bawk a, a rilru a buai em em bawk a, a rilru a hah em em bawk a.
- <p class = "muted" > 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. </p> tih a ni
- <p class = "text-warning" > 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. </p> tih a ni
- <p class = "text-error" > 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. </p> tih a ni
- A rilru a buai em em a, a rilru a hah em em bawk a. Aenean eu leo quam . A rilru a buai em em a, a rilru a hah em em bawk a. </p> tih a ni
- <p class = "text-hlawhtlinna" > Duis mollis, est non commodo luctus, nisi erat porttitor ligula. </p> tih a ni
<abbr>
Hover-a expanded version lantir nan abbreviation leh acronym-te tana HTML’s element stylized implementation . Attribute nei abbreviation te title
hian light dotted bottom border leh hover-a help cursor an nei a, hover-ah context dang a pe bawk.
<abbr>
Abbreviation pakhat long hover-a expanded text atan chuan title
attribute kha dah tel bawk ang che.
Attribute tih thumal tawifelna chu attr tih a ni.
A rilru a buai em em a, a rilru a hah em em bawk a . <abbr title = "attribute" > attr </abbr>
<abbr class="initialism">
.initialism
Font-size tlem deuh deuh atan abbreviation- ah dah la .
HTML hi chhangphut sliced hnua thil tha ber a ni.
<abbr title = "HyperText Markup Language" class = "a bul tanna" > HTML </abbr>
Pi leh pu hnai ber emaw hnathawhna taksa pum pui emaw biak theihna tur information present rawh.
<address>
Line zawng zawng chu <br>
.
- <address> tih a ni
- <strong> Twitter , Inc. chuan a ziak a ni
- 795 Folsom Ave, Suite 600 ah chuan a awm a
- A rilru a buai em em a, a rilru a hah em em bawk a. 94107 <br>
- A rilru a buai em em a, a rilru a hah em em bawk a. < /abbr> ( 123 ) 456-7890
- </address> tih a ni
- <address> tih a ni
- <strong> Hming kimchang </strong><br>
- <a href = "mailto:#" > hmasa ber.a hnuhnung [email protected] </a>
- </address> tih a ni
I document chhunga source dang atanga block block quoting atan.
HTML<blockquote>
eng pawh chu quote angin wrap vek ang che. Straight quote atan chuan a .<p>
A rilru a buai em em a, a rilru a hah em em bawk a. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere chu a ante a ni.
- <blockquote> tih a ni
- <p> 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. Integer posuere chu a ante a ni. </p> tih a ni
- </blockquote> tih a ni
Standard blockquote-a simple variation atan style leh content thlak danglam.
<small>
Source hriat theihna tur tag dah belh rawh . Source work hming chu <cite>
.
A rilru a buai em em a, a rilru a hah em em bawk a. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere chu a ante a ni.
Source Title -a mi hmingthang tak
- <blockquote> tih a ni
- <p> 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. Integer posuere chu a ante a ni. </p> tih a ni
- <small> Mi hmingthang tak <cite title = "Source Title" > Source Title </cite></small>
- </blockquote> tih a ni
.pull-right
Floated, dinglam hawia blockquote atan hmang ang che .
- <blockquote class = "chunglam hawia hruai" >
- ...
- </blockquote> tih a ni
Order-in chiang taka a pawimawh loh thil list .
- <ul> tih a ni
- <li> ... </li> tih a ni
- </ul> tih a ni
Order -in chiang taka a pawimawhna thil list .
- <ol> tih a ni
- <li> ... </li> tih a ni
- </ol> tih a ni
list-style
List item-a default leh left padding awm chu paih chhuak rawh (immediate children chauh).
- <ul class = "style nei lo" >
- <li> ... </li> tih a ni
- </ul> tih a ni
List item zawng zawng chu line khatah dah la, inline-block
light padding thenkhat nen.
- <ul class = "inline" tih a ni >
- <li> ... </li> tih a ni
- </ul> tih a ni
Thumal list leh a kaihhnawih sawifiahna.
- <dl> tih a ni
- <dt> ... </dt> tih a ni
- <dd> ... </dd> tih a ni
- </dl> tih a ni
Term leh description te chu <dl>
line up side-by-side-in siam rawh.
- <dl class = "dl-horizontal" > tih hi a awmzia a awm lo
- <dt> ... </dt> tih a ni
- <dd> ... </dd> tih a ni
- </dl> tih a ni
Lu a ti sang a!Horizontal description lists hian term sei lutuk te chu left column fix a fit theih loh tur te chu a truncate ang text-overflow
. Viewport tawi zawkah chuan default stacked layout ah an inthlak ang.
Code inline snippet te chu <code>
.
<section>
inline angin wrapped tur a ni.
- Entirnan , <code> & lt te ; section & gt ;</ code > chu inline angin wrap tur a ni .
<pre>
Code line tam tak atan hmang ang che . Rendering dik tak neih theih nan code chhunga angle bracket awm zawng zawng chu escape ngei ngei tur a ni.
<p>Hetah hian thuziak entir rawh...</p>
- <pre> tih a ni
- <p>Hetah hian thuziak entir rawh...</p>
- </pre> tih a ni
Lu a ti sang a!Tag chhungah code <pre>
chu veilam hnaih thei ang berah dah ngei ang che; tab zawng zawng a render vek ang.
Class chu duhthusamin i dah thei .pre-scrollable
a, chu chuan max-height 350px a set ang a, y-axis scrollbar a pe ang.
Basic styling atan—light padding leh horizontal divider chauh—base class .table
chu eng <table>
.
# 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 |
- <table class = "table" > tih hi a ni
- ...
- </table> tih a ni
.table
Base class ah hian a hnuaia class awm zawng zawng hi add theih a ni.
.table-striped
<tbody>
via :nth-child
CSS selector chhunga table row eng pawhah zebra-striping a dah belh (IE7-8-ah a awm lo).
# 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 |
- <table class = "table table-a innghat" >
- ...
- </table> tih a ni
.table-bordered
Table-ah chuan border leh rounded corner te dah la.
# a ni. | Hming hmasa | Hming hnuhnung | User hming a ni |
---|---|---|---|
1. a ni | Mark | Otto chuan a ti a | @mdo a ni |
Mark | Otto chuan a ti a | @getbootstrap ah hian a awm | |
2. 2. | Jakoba chu a ni | Thornton-a chuan a ti a | @thau |
3. A ni | Larry chuan a ti a | @twitter ah a awm |
- <table class = "table table-a awm" >
- ...
- </table> tih a ni
.table-hover
a chhunga table row hrang hrangah hover state enable rawh <tbody>
.
# 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 | @twitter ah a awm |
- <table class = "table table-hover" > tih a ni
- ...
- </table> tih a ni
.table-condensed
Cell padding chu a chanvea then a, table te chu a compact zawkin a siam thin.
# 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 | @twitter ah a awm |
- <table class = "table table-a inzawm" >
- ...
- </table> tih a ni
Table row hrang hrang color turin contextual class hmang ang che.
Pawl | Hrilhfiahna |
---|---|
.success |
Thiltih hlawhtling emaw, thil \ha emaw a nih thu a tarlang. |
.error |
Thil hlauhawm tak emaw, thil tha lo awm thei emaw a nih thu a tarlang. |
.warning |
Ngaihsak ngai thei vaukhânna a târ lang. |
.info |
Default styles ai chuan a danglamna atan hman a ni. |
# a ni. | Thilsiam | Pawisa lak a ni | Nihna |
---|---|---|---|
1. a ni | TB - Thla tin | 01/04/2012 khan a lo thleng ta a ni | Pawmpui |
2. 2. | TB - Thla tin | 02/04/2012 khan a lo thleng a | A hnawl ta |
3. A ni | TB - Thla tin | 03/04/2012 khan a lo thleng a | Hmabak |
4. 4. | TB - Thla tin | 04/04/2012 khan a lo thleng ta a ni | Confirm turin call in rawh |
- ...
- < tr class = "hlawhtlinna" >
- <td> 1 < /td> tih a ni
- <td>TB - Thla tin</ td >
- <td> 01 / 04 / 2012 khan a lo thleng ta a ni
- <td>A pawm tawh</ td >
- </ tr > tih a ni
- ...
Table HTML elements supported te leh an hman dan tur list.
Thlung | Hrilhfiahna |
---|---|
<table> |
Tabular format-a data tarlanna tur wrapping element |
<thead> |
Table header row ( <tr> ) atanga table column label tur container element |
<tbody> |
<tr> Table taksa chhunga table row ( ) awmte tan container element |
<tr> |
Row khata lang table cell ( <td> or ) set pakhat tana container element<th> |
<td> |
Table cell hmasa ber a ni |
<th> |
Column (or row, scope leh placement a zirin) label siamna tur table cell bik |
<caption> |
Table-a thil awmte sawifiahna emaw, a tawi zawngin emaw, a bik takin screen reader-te tan a tangkai hle |
- <table> tih a ni
- <caption> ... </caption> tih hi a ni
- <lupui> tih a ni
- <tr> tih a ni
- <th> ... </th> tih a ni
- <th> ... </th> tih a ni
- </tr> tih a ni
- </thead> tih a ni
- <tbody> tih a ni
- <tr> tih a ni
- <td> ... </td> tih a ni
- <td> ... </td> tih a ni
- </tr> tih a ni
- </tbody> tih a ni
- </table> tih a ni
<form>
Mimal form control-te chuan styling an dawng a, mahse markup-a tihdanglamna lian tham tak takah chuan base class mamawh a awm lo . Form controls chungah stacked, left-aligned labels a awm thin.
- <form> tih a ni
- <fieldset> tih a ni
- <legend> Thuziak </legend> tih a ni
- <label> Label hming </label> tih a ni
- <input type = "text" placeholder = "Thil pakhat ziak rawh..." >
- <span class = "help-block" > Hetah hian block-level help text entir rawh. </span> tih a ni
- <label class = "checkbox" > tih hi a ni
- <input type = "checkbox" > Min lo en ve teh
- </label> tih a ni
- <button type = "submit" class = "btn" > A rawn thawn chhuak rawh </button>
- </fieldset> tih a ni
- </form> tih a ni
Bootstrap nen hian common use case atan optional form layout pathum a awm bawk.
Extra-rounded text input atan .form-search
form-ah leh a- .search-query
ah te dah belh rawh .<input>
- <form class = "form-a zawn chhuah" >
- <input type = "text" class = "input-medium zawn-zawhna" >
- <button type = "submit" class = "btn" > zawng rawh </button>
- </form> tih a ni
.form-inline
Left-aligned label leh inline-block control te tan chuan layout compact tak a awm theih nan add bawk ang che.
- <form class = "form-inline" > tih hi a ni
- <input type = "text" class = "input-te tak te" hmun dahna = "Email" >
- <input type = "password" class = "input-te tak te" hmunpui = "Password" >
- <label class = "checkbox" > tih hi a ni
- <input type = "checkbox" > Min hre reng ang che
- </label> tih a ni
- < button type = "submit" class = "btn" > A chhuahna tur hmun leh a hmanna tur hmun chu a in ang lo
- </form> tih a ni
Label te chu right align la, vei lamah float la, controls te nen line khatah a lang ang. Default form atanga markup thlak tam ber a ngai:
.form-horizontal
Form ah chuan add rawh.control-group
.control-label
Label ah chuan add rawh.controls
Alignment dik tak neih theih nan a kaihhnawih control awm zawng zawng chu wrap rawh
- <form class = "a awm dan tur" >
- <div class = "thunun-tu pawl" >
- <label class = "control-label" for = "inputEmail" > Email </label> tih a ni
- <div class = "a thunun" >
- <input type = "text" id = "inputEmail" hmunpui = " Email" >
- </div> tih a ni
- </div> tih a ni
- <div class = "thunun-tu pawl" >
- <label class = "control-label" for = "inputPassword" > Thusawi </label> tih a ni
- <div class = "a thunun" >
- <input type = "password" id = "inputPassword" hmunpui = " Password" >
- </div> tih a ni
- </div> tih a ni
- <div class = "thunun-tu pawl" >
- <div class = "a thunun" >
- <label class = "checkbox" > tih hi a ni
- <input type = "checkbox" > Min hre reng ang che
- </label> tih a ni
- < button type = "submit" class = "btn" > A chhuahna tur hmun leh a hmanna tur hmun chu a in ang lo
- </div> tih a ni
- </div> tih a ni
- </form> tih a ni
Entirna form layout-a support standard form control entirnan.
Form control tlanglawn ber, text hmanga input field. HTML5 chi hrang hrang: text, password, datetime, datetime-local, date, thla, hun, kar, number, email, url, search, tel, leh color te tan support a keng tel bawk.
type
Engtik lai pawhin a specified hman a ngai .
- <input type = "text" hmunpui = "Thuziak input" >
Form control a ni a, chu chuan text line tam tak a support thei. rows
A tul angin attribute thlak rawh .
- <textarea rows = "3" ></textarea> tih a ni
Checkbox hi list pakhata option pakhat emaw, a aia tam emaw thlan nan a ni a, radio erawh chu tam tak zinga option pakhat thlan nan a ni thung.
- <label class = "checkbox" > tih hi a ni
- <input chi = "checkbox" man = "" >
- Option pakhatna chu hei leh chu a ni—a ropui chhan pawh ziak tel ngei ang che
- </label> tih a ni
- <label class = "radio" > tih hi a ni
- <input type = "radio" hming = "optionsRadios" id = "optionsRadios1" value = "option1" tih check a ni >
- Option pakhatna chu hei leh chu a ni—a ropui chhan pawh ziak tel ngei ang che
- </label> tih a ni
- <label class = "radio" > tih hi a ni
- <input type = "radio" hming = "thil thlan theihnaRadio" id = "thil thlan theihnaRadio2" value = "thil thlan2" >
- Option pahnihna hi thil dang a ni thei a, a thlan chuan option pakhat chu a deselect ang
- </label> tih a ni
Class chu checkbox emaw radio emaw series-ah dah la, .inline
line khata controls a lang ang.
- <label class = "inline ah hian checkbox a awm" >
- <input type = "checkbox" id = "inlineCheckbox1" value = "thil thlan1" > 1. 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
- </label> tih a ni
- <label class = "inline ah hian checkbox a awm" >
- <input type = "checkbox" id = "inlineCheckbox2" value = "thil thlan2" > 2. 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
- </label> tih a ni
- <label class = "inline ah hian checkbox a awm" >
- <input type = "checkbox" id = "inlineCheckbox3" value = "thil thlan3" > 3. 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
- </label> tih a ni
Default option hmang la, multiple="multiple"
vawi khatah option tam tak entir turin a tarlang bawk ang che.
- < thlang rawh>
- <option> 1 </option> tih a ni
- <option> 2 </option> tih a ni
- <option> 3 </option> tih a ni
- <option> 4 </option> tih a ni
- <option> 5 </option> tih a ni
- </select> tih a ni
- <a tam zawk thlang rawh = "multiple" >
- <option> 1 </option> tih a ni
- <option> 2 </option> tih a ni
- <option> 3 </option> tih a ni
- <option> 4 </option> tih a ni
- <option> 5 </option> tih a ni
- </select> tih a ni
Browser control awm tawhte chungah dah belhin Bootstrap hian form component tangkai dang a keng tel bawk.
Text-based input eng pawh hma emaw, a hnuah emaw text emaw button emaw dah belh rawh. select
Hetah hian elements te hi an support lo tih hre reng ang che .
Input pakhata text prepend emaw append emaw turin class pahnih zinga pakhat nen an .add-on
leh an wrap ang che.input
- <div class = "input-prepend" > tih hi a awmzia a awm lo
- <span class = "add-on" > @ </span> tih hi a ni
- <input class = "span2" id = "prependedInput" type = "text" hmun pawimawh = "Username" >
- </div> tih a ni
- <div class = "input-append" > tih a ni
- <input class = "span2" id = "apendInput " type = "text" > A chhuahna tur hmun leh a hmanna tur hmun chu a in ang lo hle
- A rilru a buai em em a, a rilru a hah em em bawk a. .00 < / span >
- </div> tih a ni
.add-on
Input pakhat prepend leh append turin class pahnih leh instance pahnih hmang rawh .
- <div class = "input-prepend tur a ni" >
- <span class = "add-on" > $ </span> tih hi a ni
- <input class = "span2" id = "a dah luh " type = "text" >
- A rilru a buai em em a, a rilru a hah em em bawk a. .00 < / span >
- </div> tih a ni
<span>
A with text ai chuan .btn
input pakhatah button (a nih loh leh pahnih) attach turin a hmang zawk ang che.
- <div class = "input-append" > tih a ni
- <input class = "span2" id = "InputButton dah belh " type = "text" >
- <button class = "btn" type = "button" > Kal rawh! </button> tih a ni
- </div> tih a ni
- <div class = "input-append" > tih a ni
- <input class = "span2" id = "InputButtons appended" type = "text" > tih a ni
- <button class = "btn" type = "button" > zawng rawh </button>
- <button class = "btn" type = "button" > Thil thlan theih </button>
- </div> tih a ni
- <div class = "input-append" > tih a ni
- A rilru a buai em em a, a rilru a hah em em bawk a, a rilru a buai em em bawk a, a rilru a hah em em bawk a. id = " appendedDropdownButton " type = "text" >
- <div class = "btn-pang" > tih hi a ni
- <button class = "btn atanga chhuak" data-toggle = "a tlak thlak" >
- Thiltih
- < span class = "caret" tih a ni a, a hlawhtlinna chu a hlawhtlinna a ni
- </button> tih a ni
- <ul class = "a hnuaia mi ang hian" >
- ...
- </ul> tih a ni
- </div> tih a ni
- </div> tih a ni
- <div class = "input-prepend" > tih hi a awmzia a awm lo
- <div class = "btn-pang" > tih hi a ni
- <button class = "btn atanga chhuak" data-toggle = "a tlak thlak" >
- Thiltih
- < span class = "caret" tih a ni a, a hlawhtlinna chu a hlawhtlinna a ni
- </button> tih a ni
- <ul class = "a hnuaia mi ang hian" >
- ...
- </ul> tih a ni
- </div> tih a ni
- A rilru a buai em em a, a rilru a hah em em bawk a, a rilru a buai em em bawk a , a rilru a hah em em bawk a . type = " text " >
- </div> tih a ni
- <div class = "input-prepend tur a ni" >
- <div class = "btn-pang" > tih hi a ni
- <button class = "btn atanga chhuak" data-toggle = "a tlak thlak" >
- Thiltih
- < span class = "caret" tih a ni a, a hlawhtlinna chu a hlawhtlinna a ni
- </button> tih a ni
- <ul class = "a hnuaia mi ang hian" >
- ...
- </ul> tih a ni
- </div> tih a ni
- <input class = "span2" id = "a dah luh tawhDropdownButton" type = "text" >
- <div class = "btn-pang" > tih hi a ni
- <button class = "btn atanga chhuak" data-toggle = "a tlak thlak" >
- Thiltih
- < span class = "caret" tih a ni a, a hlawhtlinna chu a hlawhtlinna a ni
- </button> tih a ni
- <ul class = "a hnuaia mi ang hian" >
- ...
- </ul> tih a ni
- </div> tih a ni
- </div> tih a ni
- <form> tih a ni
- <div class = "input-prepend" > tih hi a awmzia a awm lo
- <div class = "btn-group" > ... </div> tih hi a ni
- <input chi hrang hrang = "text" >
- </div> tih a ni
- <div class = "input-append" > tih a ni
- <input chi hrang hrang = "text" >
- <div class = "btn-group" > ... </div> tih hi a ni
- </div> tih a ni
- </form> tih a ni
- <form class = "form-a zawn chhuah" >
- <div class = "input-append" > tih a ni
- <input type = "text" class = "span2 zawn-zawhna" >
- <button type = "submit" class = "btn" > zawng rawh </button>
- </div> tih a ni
- <div class = "input-prepend" > tih hi a awmzia a awm lo
- <button type = "submit" class = "btn" > zawng rawh </button>
- <input type = "text" class = "span2 zawn-zawhna" >
- </div> tih a ni
- </form> tih a ni
Relative sizing class hmangin .input-large
i input te chu class hmangin grid column size te nen in ang emaw, a inmil emaw ang .span*
.
<input>
Eng emaw <textarea>
element emaw chu block level element ang maia awm tir rawh .
- <input class = "input-block-level" type = "thuziak" hmunpui = " .input -block-level" >
- <input class = "input-mini" type = "text" awmna tur = " .input -mini" >
- <input class = "input-tlemte" type = "text" hmunpui = " .input -te" >
- <input class = "input-medium" type = "text" hmunpui = " .input -medium" >
- <input class = "input-lian" type = "text" hmunpui = " .input -lian" >
- <input class = "input-xlarge" type = "text" hmunpui = " .input -xlarge" >
- <input class = "input-xxlarge" type = "text" hmunpui = " .input -xxlarge" >
Lu a ti sang a!Nakin lawka version hrang hrangah chuan kan button size nena inmil turin heng relative input class te hman dan hi kan thlak danglam dawn a ni. Entirnan, .input-large
input pakhat padding leh font-size a ti sang ang.
Grid column size inang input te tan .span1
to hmang ang che ..span12
- <input class = "span1" type = "text" awmna tur = " .span1 " >
- <input class = "span2" type = "text" hmunpui = " .span2 " >
- <input class = "span3" type = "text" hmunpui = " .span3 " >
- < class thlang rawh = "span1" >
- ...
- </select> tih a ni
- < class thlang rawh = "span2" >
- ...
- </select> tih a ni
- < class thlang rawh = "span3" >
- ...
- </select> tih a ni
Line khata grid input tam tak awm tur chuan modifier class hmang la.controls-row
, spacing dik tak neih theih nan . Input te chu white-space collapse turin a float a, margin dik tak a set a, float chu a clear bawk.
- <div class = "a thunun" >
- <input class = "span5" type = "text" awmna tur = " .span5 " >
- </div> tih a ni
- <div class = "controls-row a thunun" >
- <input class = "span4" type = "text" awmna tur = " .span4 " >
- <input class = "span1" type = "text" awmna tur = " .span1 " >
- </div> tih a ni
- ...
Form markup tak tak hmang lovin edit theih loh form-ah data present rawh.
- <span class = "input-xlarge uneditable-input" > Hetah hian value thenkhat </span>
Form pakhat chu action group (button) hmangin titawp rawh. a chhunga dah a nih .form-actions
chuan button te chu form controls te nen line up turin automatic in a indent ang.
- <div class = "thil tih dan tur" >
- <button type = "submit" class = "btn btn-primary" > Thil danglamte chu save rawh </button>
- <button type = " button" class = "btn" > A chhuah dawn chuan a chhuak leh ta a
- </div> tih a ni
Form controls chhehvela help text lo lang tur inline leh block level support.
- <input type = "text" ><span class = "inline-a ṭanpuina" > Inline-a ṭanpuina thuziak </span>
- <input type = "text" ><span class = "help-block" > Help text block sei zawk, line thara break leh line pakhat aia zau thei. </span> tih a ni
Form control leh label chungchanga feedback state bulpui neia hmangtute emaw tlawhtute hnenah feedback pe rawh.
outline
Form control thenkhata default styles te chu kan paih a, box-shadow
a aiah a kan apply thin a :focus
.
- <input class = "input-xlarge" id = "focusedInput" type = "text" value = "Hei hi a focus a ni..." >
Style inputs hmangin default browser functionality hmangin :invalid
. a , field chu optional a nih loh chuan attribute type
chu add la, (a awm chuan) a .required
pattern
Hei hi Internet Explorer 7-9 version-ah chuan CSS pseudo selector support a awm loh avangin a awm lo.
- <input class = "span3" type = "email" a ngai >
Input pakhatah attribute chu dah la, disabled
user input loh nan leh look danglam deuh trigger rawh.
- <input class = "input-xlarge" id = "Input tihtawp" type = "text" placeholder = "Hetah hian input tihtawp a ni..." tihtawp >
Bootstrap ah hian error, warning, info, leh hlawhtlinna message te validation style a awm a. Hman tur chuan, a chhehvela class dik tak chu dah belh rawh .control-group
.
- <div class = "control-group hriattirna" >
- <label class = "control-label" for = "inputWarning" > Vaukhânna nen ziak lut rawh </label>
- <div class = "a thunun" >
- <input type = "text" id = "inputWarning" > tih hi a awmzia a awm lo
- <span class = "help-inline" > Thil engemaw a kal sual mai thei </span>
- </div> tih a ni
- </div> tih a ni
- <div class = "control-group tihsual" >
- <label class = "control-label" for = "inputError" > Thil dik lo awmin input rawh </label>
- <div class = "a thunun" >
- <input chi hrang hrang = "text" id = "inputError" >
- <span class = "help-inline" > Khawngaihin a dik lo kha siam tha rawh </span>
- </div> tih a ni
- </div> tih a ni
- <div class = "control-group chanchin" >
- <label class = "control-label" for = "inputInfo" > Info nen input rawh </label>
- <div class = "a thunun" >
- <input chi hrang hrang = "text" id = "inputInfo" >
- <span class = "help-inline" > User hming chu lak a ni tawh </span>
- </div> tih a ni
- </div> tih a ni
- <div class = "control-group hlawhtlinna" >
- <label class = "control-label" for = "inputSuccess" > Hlawhtlinna nen input rawh </label>
- <div class = "a thunun" >
- <input type = "text" id = "input Hlawhtlinna" >
- <span class = "inline-ah ṭanpuina" > Woohoo! </span> tih a ni
- </div> tih a ni
- </div> tih a ni
<img>
Eng project pawha awlsam taka image style turin element pakhatah class dah belh rawh .
- <img src = "..." class = "img-a round" > tih a ni
- <img src = "..." class = "img-circle" > tih hi a awmzia a awm lo
- A rilru a buai em em a, a rilru a hah em em bawk a, a rilru a buai em em bawk a. <img src = "..." class = "img-polaroid" >
Lu a ti sang a! .img-rounded
leh .img-circle
IE7-8 ah hian support an neih loh avangin an thawk lo border-radius
.
Icon 140 sprite form-a siam, dark gray (default) leh white-a awm, Glyphicons -in a pe a ni.
Glyphicons Halflings hi a tlangpuiin a thlawna lei theih a ni lo a, mahse Bootstrap leh Glyphicons siamtute inkara inremna siamin hei hi developer i nih angin i tan man to lovin a ti thei a ni. Lawmthu sawina atan a hman theih hunah Glyphicons -a optional link back to dah tel turin kan ngen a che .
Icon zawng zawng hian <i>
class danglam bik nei tag an mamawh a, prefix chu icon-
. Hman tur chuan a hnuaia code hi khawi hmunah pawh dah la:
- <i class = "icon-a zawn" ></i> tih a ni
Inverted (white) icon tan pawh style hrang hrang a awm a, extra class pakhat nen ready-a siam a ni. He class hi nav leh dropdown link atan hover leh active states ah a bik takin kan enforce ang.
- <i class = "icon-a zawn chhuah icon-white" ></i>
Lu a ti sang a!Button emaw nav link emaw ang bawkin text string bulah i hman hunah, a <i>
inkar hlat zawng dik tak neih theih nan tag hnuaiah space dah ngei ngei tur a ni.
Button-ah te, toolbar atan button group-ah te, navigation-ah te, prepended form input-ah te hmang ang che.
- <div class = "btn-a hmanrua" >
- <div class = "btn-pang" > tih hi a ni
- <a class = "btn" href = "#" ><i class = "icon-align-left" ></i></a>
- <a class = "btn" href = "#" ><i class = "icon-align-center" ></i></a>
- <a class = "btn" href = "#" ><i class = "icon-align-right" </i></a>
- <a class = "btn" href = "#" ><i class = "icon-align-justify" ></i></a>
- </div> tih a ni
- </div> tih a ni
- <div class = "btn-pang" > tih hi a ni
- <a class = "btn btn-primary" href = "#" ><i class = "icon-a hmangtu icon-white" ></i> User </a>
- <a class = "btn btn-primary dropdown-toggle" data-toggle = "dropdown" href = "#" ><span class = "caret" ></span></a>
- <ul class = "a hnuaia mi ang hian" >
- <li><a href = "#" ><i class = "icon-pencil" </i> Edit rawh </a></li>
- <li><a href = "#" ><i class = "icon-trash" ></i > A chhuah dawn chuan a chhuak leh ta a, a chhuah dawn chuan a chhuak leh ta a
- <li><a href = "#" ><i class = "icon-ban-circle" ></i> Khap rawh </a></li>
- <li class = "insem darhtu" </li> tih a ni
- <li><a href = "#" ><i class = "i" </i> Admin siam rawh </a></li>
- </ul> tih a ni
- </div> tih a ni
- <a class = "btn btn-large" href = "#" ><i class = "icon-star" ></i> Arsi </a> tih a ni a, a chhuahna tur hmun leh a hmanna tur hmun chu a in ang lo hle
- <a class = "btn btn-small" href = "#" ><i class = "icon-star" ></i> Arsi </a> a ni a, a chhuahna tur hmun leh a hmanna tur hmun chu a in ang lo hle
- <a class = "btn btn-mini" href = "#" ><i class = "icon-star" ></i> Arsi </a> tih a ni a, a chhuahna tur hmun leh a hmanna tur hmun chu a in ang lo hle
- <ul class = "nav nav-list" > tih hi a ni
- <li class = "active" ><a href = "#" ><i class = "icon-in icon-white" </i> In leh lo </a></li>
- <li><a href = "#" ><i class = "icon-lehkhabu" </i> Library </a></li>
- <li><a href = "#" ><i class = "icon-pencil" </i> Hman dan tur </a></li>
- <li><a href = "#" ><i class = "i" </i> Misc </a></li> tih hi a ni
- </ul> tih a ni
- <div class = "thunun-tu pawl" >
- <label class = " control-label" for = "inputIcon" > A chhuahna tur hmun leh a hmanna tur hmun chu a in ang lo hle
- <div class = "a thunun" >
- <div class = "input-prepend" > tih hi a awmzia a awm lo
- <span class = "add-on" ><i class = "icon-envelope" ></i></span>
- <input class = "span2" id = "inputIcon" type = "text" > A chhuahna tur hmun leh a hmanna tur hmun chu a in ang lo hle
- </div> tih a ni
- </div> tih a ni
- </div> tih a ni