HTML fɛn jɔnjɔnw cogoya ani u labɛnna ni kalansenw ye minnu bɛ se ka bonya.
HTML kunkankow bɛɛ, <h1>
through <h6>
bɛ sɔrɔ.
Bootstrap ka diɲɛ daminɛ font-size
ye 14px ye , ni a line-height
ye 20px ye . O bɛ sirataama <body>
dakunw ni dakunw bɛɛ la. Ka fara o kan, <p>
(dakunw) bɛ duguma-dakun sɔrɔ u ka layini-janya tilancɛ la (10px ka da a kan).
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus ni magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies bolifɛnw.
Cum sociis natoque penatibus ni magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla min tɛ fɛn ye min bɛ wele ko fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla min tɛ fɛn ye min bɛ wele ko fringilla.
Maecenas sed diam eget risus varius blandit sigi amet non magna. Donec id elit non mi porta gravida ye eget metus ye. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
<p> ... </p>
Aw ye dakun dɔ kɛ fɛn ye min bɛ bɔ kɛnɛ kan ni aw ye a fara a kan .lead
.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor min bɛ kɛ ka fɛnw feere. Duis mollis, est min tɛ fɛn caman ye.
<p kalasi = "ɲɛmaa" > ... </p>
sɛbɛnnikɛlan sɛgɛsɛgɛli bɛ tali kɛ LESS fɛn fila kan fɛn caman sɛgɛsɛgɛli la.less : @baseFontSize
ani @baseLineHeight
. Fɔlɔ ye basigi sɛbɛnnibolo-size ye min bɛ Kɛ a bɛɛ la ani filanan ye basigi-yɔrɔ-janya ye. An bɛ baara Kɛ n’o fɛn caman ɲɔgɔnna ye ani jatebɔ nɔgɔman dɔw walasa ka an ka suguya bɛɛ ka margins, paddings, ani line-heights (dakunw) Dabɔ ani fɛn wɛrɛw. Aw bɛ u kɛ ka kɛɲɛ ni u yɛrɛ sago ye ani Bootstrap bɛ ladamu.
Baara kɛ ni HTML ka sinsinnan taamasiyɛnw ye minnu bɛ kɛ ni cogoya nɔgɔmanw ye.
<small>
Walasa ka sɛbɛnniw kɔnɔna walima sɛbɛnniw blokiw bɔ, i ka baara kɛ ni taamasiyɛn fitinin ye.
Nin sɛbɛnni zana in kun ye ka jate i n’a fɔ sɛbɛnni ɲumanw.
<p> <misɛn> nin sɛbɛn in kun ye ka jate sɛbɛn ɲɛnamaw ye . < /p> ye </p> ye
Walasa ka sinsin sɛbɛnni dɔ kan ni sɛbɛnnibolo-gɛlɛya gɛlɛn ye.
nin sɛbɛnfura in bɛ kɛ sɛbɛnni jɛlenw ye .
<strong> bamanankan_kalangafe4-zup.repl.html,#201944 ye </strong>
Walasa ka sinsin sɛbɛn yɔrɔ dɔ kan ni sɛbɛnnibolow ye minnu bɛ sɛbɛn ni italiki ye.
nin sɛbɛn yɔrɔ in bɛ kɛ sɛbɛnni ye min bɛ sɛbɛn ni italiki ye .
<em> bamanankan_kalangafe4-zup.repl.html,#1199999 ye </em>
Kungolow bɛ wuli!Aw kana siga ka baara kɛ <b>
ni <i>
HTML5 ye. <b>
kɔrɔ ye ka daɲɛw walima kumasenw Bɔ kɛnɛ kan k’a sɔrɔ a ma nafa wɛrɛ Lase k’a sɔrɔ <i>
a fanba bɛ kumakan, fɛɛrɛko daɲɛw, a ɲɔgɔnnaw de kan.
Aw bɛ sɛbɛnniw labɛn kokura nɔgɔya la ka kɛɲɛ ni yɔrɔw ye minnu bɛ sɛbɛnniw labɛncogo kalanw na.
Sɛbɛn minnu bɛ ɲɔgɔn kan numan fɛ.
Cɛmancɛ-labɛnni sɛbɛnni.
Sɛbɛn minnu bɛ ɲɔgɔn kan kinin fɛ.
- <p class = "texte-left" > Sɛbɛnni min bɛ ɲɔgɔn kan numan fɛ. </p> , o ye
- <p class = "text-center" > Sɛbɛnni min bɛ bɛn cɛmancɛ ma. </p> , o ye
- <p class = "text-right" > Sɛbɛn min bɛ ɲɔgɔn kan kinin fɛ. </p> , o ye
Kɔrɔ lase kulɛri fɛ ni bolomafara nafama kalanw ye.
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.. Bamako, Mali.
Etiam porta sem cɛmanba min bɛ wele ko magna mollis euismod.
Donec ullamcorper nulla min tɛ fɛn ye min bɛ wele ko fringilla.
Aenean eu leo quam. Pellentesque ornare ye lacinia quam venenatis ye.
Duis mollis, est non commodo luctus, nisi erat jirisunba min bɛ wele ko ligula.
- <p kalasi = "mugulen" > Fusce dapibus, tellus ac cursus komodo, tortor mauris nibh. </p> , o ye
- <p kalasi = "sɛbɛnni-lasɔmini" > Etiam porta sem malesuada magna mollis euismod. </p> , o ye
- <p kalasi = "sɛbɛnni-fili" > Donec ullamcorper nulla non metus auctor fringilla. </p> , o ye
- <p kalasi = "sɛbɛnni-kunnafoni" > Aenean eu leo quam. Pellentesque ornare ye lacinia quam venenatis ye. </p> , o ye
- <p kalasi = "sɛbɛnni-ɲɛtaa" > Duis mollis, est non commodo luctus, nisi erat porttitor ligula. </p> , o ye
HTML ka <abbr>
element (yɔrɔ) waleyali cogo la min bɛ Kɛ ka surunya ni daɲɛ surunw ye walasa ka a jiracogo bonyalen jira hover kan. Suguda minnu bɛ ni fɛn dɔ ye title
, olu bɛ ni duguma dan ye min bɛ yeelen bɔ ani dɛmɛ-yɔrɔ min bɛ 'yɔrɔ la, o bɛ 'kɔnɔfɛn wɛrɛw Di 'yɔrɔ la.
<abbr>
Walasa ka sɛbɛnni bonyalen sɔrɔ surunyalen dɔ janya kan, i ka o title
fɛnsɛbɛn don a kɔnɔ.
Daɲɛ min bɛ wele ko attribut , o surunyalen dɔ ye attr ye .
<abbr tɔgɔ = "fɛn" > attr </abbr>
<abbr class="initialism">
A bɛ Fàra .initialism
daɲɛ surun dɔ kan walasa ka sɛbɛnnibolo-yɔrɔ fitinin dɔ Sɔrɔ.
HTML ye fɛn bɛɛ la ɲuman ye kabini buru tigɛlen.
<abbr title = "HyperText taamasiyɛnkan" class = "daminɛ" > HTML </abbr>
Aw bɛ kunnafoni di bɛnbakɛ min ka surun aw la walima baara bɛɛ lajɛlen na.
<address>
Aw bɛ sɛbɛnniw mara ni zana bɛɛ laban ye ni <br>
.
- <adrɛsi> ye
- <strong> twitɛri , </strong><br>
- 795 Folsom Ave, Suite 600 Bamako , Mali
- San Fransisko, CA 94107 <br>
- <abbr tɔgɔ = « Telefɔni » > P : </abbr> ( 123 ) 456-7890
- </adrɛsi> ye
- <adrɛsi> ye
- <strong> Tɔgɔ dafalen </strong><br>
- <a href = "mailto:#" > fɔlɔ. [email protected] </a>
- </adrɛsi> ye
Walasa ka kunnafoni blokiw fɔ ka bɔ yɔrɔ wɛrɛ la i ka sɛbɛn kɔnɔ.
Aw bɛ HTML o HTML<blockquote>
lamini i n’a fɔ quote. Walasa ka kuma tilennenw sɔrɔ an bɛ ladilikan di a ma .<p>
Lorem ipsum dolor sigilen amet, consectetur adipiscing elit. Jateden dafalen posuere erat a ante.
- <blockquote> ye
- <p> Lorem ipsum dolor sigilen amet, consectetur adipiscing elit. Jateden dafalen posuere erat a ante. </p> , o ye
- </blockquote> ye
Fɛɛrɛ ni kɔnɔkow bɛ Changé ka ɲɛsin fɛn nɔgɔmanw ma minnu bɛ ɲɔgɔn falen-falen blocquote standard kan.
Tag fara a <small>
kan walasa ka sɔrɔyɔrɔ dɔn. Aw bɛ sɔrɔyɔrɔ baara tɔgɔ siri <cite>
.
Lorem ipsum dolor sigilen amet, consectetur adipiscing elit. Jateden dafalen posuere erat a ante.
Mɔgɔ min tɔgɔ bɔra Source Title kɔnɔ
- <blockquote> ye
- <p> Lorem ipsum dolor sigilen amet, consectetur adipiscing elit. Jateden dafalen posuere erat a ante. </p> , o ye
- <small> mɔgɔ tɔgɔba dɔ <cite title = "Sɔrɔyɔrɔ tɔgɔ" > Source Title </cite></small>
- </blockquote> ye
Baara .pull-right
kɛ ni bloki-sɛbɛn ye min bɛ panpan, min bɛ kinin fɛ.
- <blockquote kalasi = "sama-niman" >
- ...
- </blockquote> ye
Fɛn minnu kɔnɔ, u sigicogo tɛ foyi ɲɛ k’a jɛya, olu lisɛli.
- <ul> ye
- <li> ... </li>
- </ul>
Fɛn minnu kɔnɔ, o sigicogo bɛ nafa jira k’a jɛya, olu lisɛli.
- <ol> ye
- <li> ... </li>
- </ol> , o ye
Aw bɛ padding default list-style
ani left padding bɔ lisi fɛnw kan (denmisɛnninw dɔrɔn).
- <ul kalasi = "min tɛ cogo la" >
- <li> ... </li>
- </ul>
Aw bɛ lisi kɔnɔfɛnw bɛɛ bila tigɛli kelen kan ni inline-block
ani yeelen padding dɔw ye.
- <ul kalasi = "kɔnɔna" >
- <li> ... </li>
- </ul>
Daɲɛw lisɛli n’u ɲɛfɔli minnu bɛ tali kɛ u la.
- <dl> ye
- <dt> ... </dt> , o ye
- <dd> ... </dd> ye
- </dl> ye
Aw bɛ daɲɛw ni ɲɛfɔliw kɛ <dl>
ɲɔgɔn kan kɛrɛfɛ.
- <dl kalasi = "dl-horizontal" >
- <dt> ... </dt> , o ye
- <dd> ... </dd> ye
- </dl> ye
Kungolow bɛ wuli!ɲɛfɔli lisi tilennenw bɛna daɲɛw tigɛ minnu janya ka bon kosɛbɛ fo u tɛ se ka don kininbolo koloma labɛnni text-overflow
na . Viewports fitininw na, u bɛna fɛn caman Changer ka kɛ default stacked layout ye.
Kode inline snippets siri ni <code>
.
<section>
ka kan ka siri i n’a fɔ inline.
- misali la , < kode> & lt ; dakun & gt ;</ code > ka kan ka siri i n' a fɔ inline .
Baara kɛ ni <pre>
kode sinsinni caman ye. Aw ye aw jija ka bɔ angle brackets (kɛrɛfɛlan) fɛn o fɛn na kode kɔnɔ walasa ka ɲɛfɔli kɛ ka ɲɛ.
<p>Sɛbɛn misali yan...</p>
- <pre> ye
- <p>Sɛbɛn misali yan...</p>
- </pre> , o ye
Kungolow bɛ wuli!Aw ye aw jija ka kode mara <pre>
tags kɔnɔ ka surunya kinin fɛ cogo min na; a bɛna tablo bɛɛ jira.
Aw bɛ se ka .pre-scrollable
kalasi fara a kan min bɛna max-height sigi 350px ani ka y-axis scrollbar di.
Walasa ka cogoya jɔnjɔn sɔrɔ—padding yeelenma ani tilayɔrɔ tilennen dɔrɔn—aw bɛ basigi kalasi .table
fara fɛn o fɛn <table>
kan .
# Bamako . | Tɔgɔ | Jamu | Baarakɛla tɔgɔ |
---|---|---|---|
1 ye | Marka | Otto ye | @mdo ye |
2 ye | Yakuba | Thornton ye | @belebeleba |
3 ye | Larry ye | Kɔnɔ in | @twitter kan |
- <tabali kalasi = "tabali" >
- ...
- </tabali>
Aw bɛ nin kalansen ninnu dɔ fara .table
basigi kalan kan.
.table-striped
A bɛ zebra-striping fara tabali jirisun o tabali kan <tbody>
via :nth-child
CSS selector kɔnɔ (a tɛ sɔrɔ IE7-8 kɔnɔ).
# Bamako . | Tɔgɔ | Jamu | Baarakɛla tɔgɔ |
---|---|---|---|
1 ye | Marka | Otto ye | @mdo ye |
2 ye | Yakuba | Thornton ye | @belebeleba |
3 ye | Larry ye | Kɔnɔ in | @twitter kan |
- <tabali kalasi = "tabali-tabali-sira" >
- ...
- </tabali>
.table-bordered
Aw bɛ danw ni nkɔni bulamaw fara tabali kan.
# Bamako . | Tɔgɔ | Jamu | Baarakɛla tɔgɔ |
---|---|---|---|
1 ye | Marka | Otto ye | @mdo ye |
Marka | Otto ye | @getbootstrap ye | |
2 ye | Yakuba | Thornton ye | @belebeleba |
3 ye | Larry ka Kɔnɔ | @twitter kan |
- <tabali kalasi = "tabali-tabali-danfara" >
- ...
- </tabali>
.table-hover
A bɛ se ka hover cogoya dɔ kɛ tabali jiriw kan a kɔnɔ <tbody>
.
# Bamako . | Tɔgɔ | Jamu | Baarakɛla tɔgɔ |
---|---|---|---|
1 ye | Marka | Otto ye | @mdo ye |
2 ye | Yakuba | Thornton ye | @belebeleba |
3 ye | Larry ka Kɔnɔ | @twitter kan |
- <tabali kalasi = "tabali-tabali-hover" >
- ...
- </tabali>
.table-condensed
A bɛ tabali kɛ fɛn ye min ka surun kosɛbɛ ni a bɛ selilɛriw tigɛ ka kɛ fila ye.
# Bamako . | Tɔgɔ | Jamu | Baarakɛla tɔgɔ |
---|---|---|---|
1 ye | Marka | Otto ye | @mdo ye |
2 ye | Yakuba | Thornton ye | @belebeleba |
3 ye | Larry ka Kɔnɔ | @twitter kan |
- <tabali kalasi = "tabali-tabali-kɔnɔna" >
- ...
- </tabali>
Baara kɛ ni contextual classes ye walasa ka tabali jiriw kulɛri.
Kilasi | Cogojirali |
---|---|
.success |
A b’a jira ko wale kɛra min ɲɛnabɔra walima min kɛra koɲuman. |
.error |
A bɛ wale dɔ jira min bɛ se ka kɛ farati ye walima min bɛ se ka kɛ wale jugu ye. |
.warning |
A bɛ lasɔmini dɔ jira min bɛ se ka kɛ a mago bɛ jateminɛ na. |
.info |
A bɛ baara kɛ ni a ye i n’a fɔ fɛn wɛrɛ min bɛ kɛ ka kɛɲɛ ni cogoya kɔrɔw ye. |
# Bamako . | Ka kɛ | Sarali Minɛna | Sigisariyaw |
---|---|---|---|
1 ye | TB - Kalo o kalo | 01/04/2012 ye | Yamaruyalen |
2 ye | TB - Kalo o kalo | 02/04/2012. Bamako, Mali | A banna |
3 ye | TB - Kalo o kalo | 03/04/2012. Bamako, Mali | Makɔnɔlila |
4 ye | TB - Kalo o kalo | 04/04/2012. Bamako, Mali | Aw bɛ wele ka don walasa ka a dafa |
- ...
- < tr kalasi = "ɲɛtaa" >
- <td> 1 < /td> ye
- <td>TB - Kalo o kalo </ td >
- <td> 01 / 04 / san 2012 < /td>
- <td>Sɔnnen don</ td >
- </ tr > ye
- ...
Tabali HTML fɛnw minnu bɛ dɛmɛ sɔrɔ, olu lisɛli ani u ka kan ka baara kɛ cogo min na.
Ka nɔrɔ | Cogojirali |
---|---|
<table> |
Wrapping element walasa ka kunnafoniw jira tabali cogo la |
<thead> |
Minɛn kɔnɔfɛn min bɛ kɛ tabali kuncɛlanw ( <tr> ) ye walasa ka tabali kuluw labeli |
<tbody> |
Minɛn yɔrɔ min bɛ tabali jiriw la ( <tr> ) tabali farikolo la |
<tr> |
Minɛn kɔnɔfɛn min bɛ kɛ tabali selilɛriw kulu dɔ ye ( <td> walima <th> ) min bɛ jira jirisun kelen kan |
<td> |
Tabali selilɛri default |
<th> |
Tabali seli kɛrɛnkɛrɛnnen min bɛ kɛ kulu (walima jirisun, ka kɛɲɛ ni a bonya ni a sigiyɔrɔ ye) taamasiyɛnw ye |
<caption> |
Tabali bɛ min mara, o ɲɛfɔli walima a kuncɛcogo, kɛrɛnkɛrɛnnenya la, min nafa ka bon ɛkran kalanbagaw ma |
- <tabali> ye
- <kalan> ... </caption>
- <kunkolo>
- <tr> ye
- <th> ... </th> ye
- <th> ... </th> ye
- </tr> , o ye
- </thead> ye
- <tbody> ye
- <tr> ye
- <td> ... </td> ye
- <td> ... </td> ye
- </tr> , o ye
- </tbody> ye
- </tabali>
Mɔgɔ kelen-kelen bɛɛ ka foroko kɔrɔsibagaw bɛ styling sɔrɔ, nka ni basigi kalasi wajibiyalen si tɛ o kan <form>
walima fɛn caman Changements dans marquage. O bɛ na ni sɛbɛnniw ye minnu bɛ ɲɔgɔn kan, minnu bɛ ɲɔgɔn kan numan fɛ foroko kunkankow sanfɛ.
- <fɔcogo>
- <forobaciyɛn>
- <jaabi> nsiirin </ legende >
- <label> Labeli tɔgɔ </label>
- <donna suguya = "sɛbɛn" yɔrɔ = "Fɛn dɔ sɛbɛn..." >
- <span class = "dɛmɛ-blɔki" > Misali bloki-dakun dɛmɛ sɛbɛn yan. </span> , o ye
- <label class = "sɛbɛn ɲɛ 10nan" >
- <input type = "checkbox" > Aw ye n lajɛ
- </label> ye
- <butɔni suguya = "ci" kalasi = "btn" > Lase </button>
- </fieldset> ye
- </form>
Bootstrap kɔnɔ, sɛbɛnfura labɛncogo saba bɛ yen minnu bɛ se ka kɛ baarakɛminɛnw ye minnu bɛ kɛ tuma caman na.
Aw bɛ fara .form-search
sɛbɛnfura kan ani .search-query
ka fara <input>
a kan walasa ka sɛbɛnni doncogo wɛrɛ kɛ.
- <form class = "fɔli-ɲini" >
- <donna suguya = "sɛbɛn" kalasi = "donna-minɛn ɲinini-ɲininkali" >
- <butɔni suguya = "submit" kalasi = "btn" > Ɲini </button>
- </form>
Aw bɛ fara a kan .form-inline
ka ɲɛsin labeliw ma minnu bɛ kinin fɛ ani inline-block controls walasa ka layidu fitinin dɔ sɔrɔ.
- <form class = "formu-inline" >
- <donna suguya = "sɛbɛn" kalasi = "donna-misɛnnin" yɔrɔ = "Email" >
- <donna suguya = "daɲɛ" kalasi = "donna-misɛn" yɔrɔ = "Daɲɛ" >
- <label class = "sɛbɛn ɲɛ 10nan" >
- <input type = "checkbox" > Aw ye aw hakili to ne la
- </label> ye
- <butɔni suguya = "submit" kalasi = "btn" > Don </button>
- </form>
Aw bɛ labeliw labɛn kinin fɛ ani k’u wuli ka taa kinin fɛ walasa u ka bɔ layini kelen kan ni kunnafonidilanw ye. A bɛ taamasiyɛn caman caman ɲɔgɔnna caman wajibiya ka bɔ sɛbɛnfura kɔrɔ la:
.form-horizontal
o sɛbɛn kan.control-group
.control-label
ka fara a kan.controls
walasa u ka ɲɔgɔn sɔrɔ ka ɲɛ
- <form class = "fɔcogo-kɔrɔlen" >
- <div kalasi = "kunnafoni-kulu" >
- <label class = "kunnafoni-labeli" for = "donniEmail" > Email </label>
- <div kalasi = "kunnafoni" >
- <doncogo suguya = "sɛbɛn" id = "donnaEmail" yɔrɔ = "Email" >
- </div> ye
- </div> ye
- <div kalasi = "kunnafoni-kulu" >
- <label class = "contrôle-label" for = "donna-sɛbɛn" > Daɲɛgafe </label>
- <div kalasi = "kunnafoni" >
- <donna suguya = "daɲɛ" id = "donna -daɲɛ" yɔrɔ = "Daɲɛ" >
- </div> ye
- </div> ye
- <div kalasi = "kunnafoni-kulu" >
- <div kalasi = "kunnafoni" >
- <label class = "sɛbɛn ɲɛ 10nan" >
- <input type = "checkbox" > Aw ye aw hakili to ne la
- </label> ye
- <butɔni suguya = "submit" kalasi = "btn" > Don </button>
- </div> ye
- </div> ye
- </form>
Misaliw bɛ sɔrɔ forobaciyɛn kunkankow la minnu bɛ dɛmɛ sɔrɔ misali sɛbɛnw labɛncogo la.
Foroko ɲɛnabɔli min ka ca kosɛbɛ, sɛbɛnni-sɛbɛnni-yɔrɔw. HTML5 suguya bɛɛ dɛmɛni bɛ yen: sɛbɛnni, daɲɛ dogolen, don waati, don-waati-sigida, don, kalo, waati, dɔgɔkun, nimɔrɔ, imɛri, url, ɲinini, tel, ani kulɛri.
A bɛ a ɲini ka baara kɛ ni dɔ ye min kofɔlen don type
waati bɛɛ.
- <doncogo suguya = "sɛbɛn" yɔrɔ = "Sɛbɛnni" >
Formulaire control min bɛ sɛbɛnni zana caman dɛmɛ. Aw bɛ fɛn dɔ Changer rows
i n’a fɔ a mago bɛ cogo min na.
- <textarea jirisunw = "3" ></textarea>
Jateminɛkɛyɔrɔw ye sugandili kelen walima caman sugandili ye lisi dɔ kɔnɔ k’a sɔrɔ arajow ye sugandili kelen sugandi caman cɛma.
- <label class = "sɛbɛn ɲɛ 10nan" >
- <doncogo suguya = "dakun" nafa = "" >
- Sugandili fɔlɔ ye nin ni nin ye—aw ye aw jija ka a fɔ mun na a ka ɲi kosɛbɛ
- </label> ye
- <label kalasi = "arajo" >
- <doncogo suguya = "arajo" tɔgɔ = "sugandiliRadiow" id = "sugandiliRadiow1" nafa = "sugandili1" sɛgɛsɛgɛli >
- Sugandili fɔlɔ ye nin ni nin ye—aw ye aw jija ka a fɔ mun na a ka ɲi kosɛbɛ
- </label> ye
- <label kalasi = "arajo" >
- <doncogo suguya = "arajo" tɔgɔ = "sugandiliRadiow" id = "sugandiliRadiow2" nafa = "sugandili2" >
- Sugandili filanan bɛ se ka kɛ fɛn wɛrɛ ye wa n’i y’a sugandi, o bɛna sugandili fɔlɔ bɔ
- </label> ye
Aw bɛ .inline
kalan fara ɲɔgɔn kan ka kɛ jatebɔyɔrɔw walima arajow ye minnu bɛ tugu ɲɔgɔn na walasa kunnafonidiw ka bɔ layini kelen kan.
- <label class = "dakun kɔnɔna na" >
- <donna suguya = "jatebɔ-kɛsu" id = "inlineSɛgɛsɛgɛli-kɛsu1" nafa = "sugandili1" > 1
- </label> ye
- <label class = "dakun kɔnɔna na" >
- <doncogo suguya = "sɛgɛsɛgɛli kɛsu" id = "inlineCheckbox2" nafa = "sugandili2" > 2
- </label> ye
- <label class = "dakun kɔnɔna na" >
- <doncogo suguya = "sɛgɛsɛgɛli kɛsu" id = "inlineCheckbox3" nafa = "sugandili3" > 3
- </label> ye
Baara kɛ ni sugandicogo kɔrɔ ye walima ka a multiple="multiple"
jira walasa ka sugandili caman jira siɲɛ kelen.
- <sugandili>
- <sugandili> 1 </option>
- <sugandili> 2 </option>
- <sugandili> 3 </option>
- <sugandili> 4 </option>
- <sugandili> 5 </option>
- </select> , o ye
- <ka caman sugandi = "caman" >
- <sugandili> 1 </option>
- <sugandili> 2 </option>
- <sugandili> 3 </option>
- <sugandili> 4 </option>
- <sugandili> 5 </option>
- </select> , o ye
Fàralen kan navigatɔrɔn-minɛnw kan minnu bɛ yen, Bootstrap bɛ foroko yɔrɔ nafama wɛrɛw Dòn a la.
Sɛbɛnni walima butɔni dɔw fara a kan ka kɔn sɛbɛnniw kan minnu sinsinnen bɛ sɛbɛnniw kan walima o kɔfɛ. Aw k’a kɔlɔsi ko select
fɛnw tɛ dɛmɛn yan.
Aw bɛ an .add-on
ni an siri input
ni kalasi fila dɔ ye walasa ka sɛbɛnni dɔ labɛn ka kɔn walima ka fara a kan donta dɔ kan.
- <div kalasi = "donni-ɲɛnabɔli" >
- <span kalasi = " farankan" > @ </span>
- <donni kalasi = "span2" id = "prependedInput" suguya = "sɛbɛn" yɔrɔ = "Baarakɛla tɔgɔ" >
- </div> ye
- <div kalasi = "donni-falen" >
- <donna kalasi = "span2" id = "donni faralen don" suguya = "sɛbɛn" >
- <span kalasi = " farankan" > .00 </span>
- </div> ye
Baara kɛ ni kalasi fila bɛɛ ye ani misali fila ye .add-on
walasa ka donta dɔ prepend ani ka fara a kan.
- <div class = "donni-donni-donni-falen" >
- <span kalasi = " farankan" > $ </span>
- <donni kalasi = "span2" id = "sɛbɛnni min faralen don a kan" suguya = "sɛbɛn" >
- <span kalasi = " farankan" > .00 </span>
- </div> ye
Sanni a ka kɛ <span>
ni sɛbɛnni ye, baara kɛ ni a ye .btn
walasa ka butɔni (walima fila) nɔrɔ sɛbɛnni dɔ la.
- <div kalasi = "donni-falen" >
- <donna kalasi = "span2" id = "donna butɔni faralen" suguya = "sɛbɛn" >
- <butɔni kalasi = "btn" suguya = "butɔni" > Taga! </button> ye
- </div> ye
- <div kalasi = "donni-falen" >
- <donna kalasi = "span2" id = "donna butɔni faralen" suguya = "sɛbɛn" >
- <button class = "btn" suguya = "button" > ɲinini </button>
- <button class = "btn" suguya = "button" > Sugandili </button>
- </div> ye
- <div kalasi = "donni-falen" >
- <donna kalasi = "span2" id = "appendedDropdownButton" suguya = "sɛbɛn" >
- <div kalasi = "btn-kulu" >
- <button class = "btn jigin-yɔrɔ" data-toggle = "bɔyɔrɔ" >
- Wale
- <span kalasi = "karɛti" </span>
- </button> ye
- <ul kalasi = "dakun-yɔrɔ" >
- ...
- </ul>
- </div> ye
- </div> ye
- <div kalasi = "donni-ɲɛnabɔli" >
- <div kalasi = "btn-kulu" >
- <button class = "btn jigin-yɔrɔ" data-toggle = "bɔyɔrɔ" >
- Wale
- <span kalasi = "karɛti" </span>
- </button> ye
- <ul kalasi = "dakun-yɔrɔ" >
- ...
- </ul>
- </div> ye
- <donni kalasi = "span2" id = "prependedDropdownButton" suguya = "sɛbɛn" >
- </div> ye
- <div class = "donni-donni-donni-falen" >
- <div kalasi = "btn-kulu" >
- <button class = "btn jigin-yɔrɔ" data-toggle = "bɔyɔrɔ" >
- Wale
- <span kalasi = "karɛti" </span>
- </button> ye
- <ul kalasi = "dakun-yɔrɔ" >
- ...
- </ul>
- </div> ye
- <donna kalasi = "span2" id = "appendedPrependedDropdownButton" suguya = "sɛbɛn" >
- <div kalasi = "btn-kulu" >
- <button class = "btn jigin-yɔrɔ" data-toggle = "bɔyɔrɔ" >
- Wale
- <span kalasi = "karɛti" </span>
- </button> ye
- <ul kalasi = "dakun-yɔrɔ" >
- ...
- </ul>
- </div> ye
- </div> ye
- <fɔcogo>
- <div kalasi = "donni-ɲɛnabɔli" >
- <div kalasi = "btn-kulu" > ... </div>
- <doncogo suguya = "sɛbɛn" >
- </div> ye
- <div kalasi = "donni-falen" >
- <doncogo suguya = "sɛbɛn" >
- <div kalasi = "btn-kulu" > ... </div>
- </div> ye
- </form>
- <form class = "fɔli-ɲini" >
- <div kalasi = "donni-falen" >
- <doncogo suguya = "sɛbɛn" kalasi = "span2 ɲinini-ɲininkali" >
- <butɔni suguya = "submit" kalasi = "btn" > Ɲini </button>
- </div> ye
- <div kalasi = "donni-ɲɛnabɔli" >
- <butɔni suguya = "submit" kalasi = "btn" > Ɲini </button>
- <doncogo suguya = "sɛbɛn" kalasi = "span2 ɲinini-ɲininkali" >
- </div> ye
- </form>
Baara kɛ ni relative sizing classes ye i n’a fɔ .input-large
walima ka bɛn i ka inputs ma ni grid column sizes ye ni .span*
classes ye.
Aw bɛ fɛn o fɛn <input>
walima <textarea>
fɛn dɔ kɛ a yɛrɛ ye i n’a fɔ fɛn min bɛ kɛ ni bloki nivo ye.
- <donna kalasi = "don-bolo-dakun" suguya = "sɛbɛn" yɔrɔ = " .don -bolo-dakun" >
- <donna kalasi = "don-mini" suguya = "sɛbɛn" yɔrɔ = " .don -mini" >
- <donna kalasi = "don-misɛn" suguya = "sɛbɛn" yɔrɔ = " .don -misɛn" >
- <donna- kalasi = "don-minɛn" suguya = "sɛbɛn" yɔrɔ-yɔrɔ = ".don-minɛn " >
- <donna- kalasi = "donna-ba" suguya = "sɛbɛn" yɔrɔ = " .don -ba" >
- <donni kalasi = "don-xlarge" suguya = "sɛbɛn" yɔrɔ = ".don-xlarge" >
- <donna kalasi = "don-xxba" suguya = "sɛbɛn" yɔrɔ = ".don-xxba" >
Kungolow bɛ wuli!A bɔko nataw la, an bɛna nin daɲɛ-sɛbɛnni-kalansow baarakɛcogo caman sɛmɛntiya walasa u ka bɛn an ka butɔni hakɛw ma. Misali la, .input-large
bɛna dɔ fara donta dɔ ka padding ni font-size kan.
Baara kɛ ni .span1
to .span12
ye dontaw kama minnu bɛ bɛn jatebɔlanw hakɛ kelenw ma.
- <donna kalasi = "span1" suguya = "sɛbɛn" yɔrɔ = ".span1" >
- <donna kalasi = "span2" suguya = "sɛbɛn" yɔrɔ = ".span2" >
- <donna kalasi = "span3" suguya = "sɛbɛn" yɔrɔ = ".span3" >
- < kalanso sugandi = "span1" >
- ...
- </select> , o ye
- < kalanso sugandi = "span2" >
- ...
- </select> , o ye
- < kalanso sugandi = "span3" >
- ...
- </select> , o ye
Ni aw b’a fɛ ka grid donna caman sɔrɔ zana kelen kɔnɔ, aw bɛ baara kɛ ni .controls-row
modificateur class ye walasa ka yɔrɔjan sɔrɔ cogo bɛnnen na . A bɛ donnakow Fɔ walasa ka yɔrɔ finmanw Dabɔ, ka dakun bɛnnenw Sìgi, ka Fɔɔnɔ jɛya.
- <div kalasi = "kunnafoni" >
- <donna kalasi = "span5" suguya = "sɛbɛn" yɔrɔ = ".span5" >
- </div> ye
- <div class = "kunnafoni-sɛbɛnw-kulu" >
- <donna kalasi = "span4" suguya = "sɛbɛn" yɔrɔ = ".span4" >
- <donna kalasi = "span1" suguya = "sɛbɛn" yɔrɔ = ".span1" >
- </div> ye
- ...
Donanw jira cogo la min tɛ se ka ladilan k’a sɔrɔ i ma baara kɛ ni sɛbɛnfura taamasiyɛn yɛrɛ ye.
- <span class = "don-xlarge uneditable-input" > Nafa dɔw yan </span>
Foroko dɔ dabila ni wale kulu dɔ ye (butɔni). Ni u bilala a kɔnɔ .form-actions
, butɔni bɛna wuli u yɛrɛma walasa ka bɛn ni foroko ɲɛminɛbagaw ye.
- <div kalasi = "fɔcogo-walew" >
- <button type = "submit" class = "btn btn-primary" > Yɛlɛmaw mara </button>
- <butɔni suguya = "butɔni" kalasi = "btn" > Cancel </button>
- </div> ye
Inline ani block level dɛmɛni dɛmɛ sɛbɛnni na min bɛ bɔ foroko kunkankow lamini na.
- <doncogo suguya = "sɛbɛn" ><span kalasi = "dɛmɛ-dakun kɔnɔ" > Layini kɔnɔ dɛmɛ sɛbɛnni </span>
- <input type = "text" ><span class = "help-block" > Dɛmɛ sɛbɛn bloki janyalen min bɛ kari tigɛli kura kan ani a bɛ se ka janya ka tɛmɛ zana kelen kan. </span> , o ye
Aw bɛ hakilinaw di baarakɛlaw ma walima taamakɛlaw ma ni hakilina jɔnjɔnw ye minnu bɛ fɔ sɛbɛnw kɔlɔsili ni sɛbɛnniw kan.
An bɛ outline
cogoya dafalenw bɔ foroko kɔrɔsibaga dɔw kan ka a box-shadow
kɛ a nɔ na :focus
.
- <donna kalasi = "don-xlarge" id = "focusedInput" suguya = "texte" nafa = "Nin ye sinsinnan ye..." >
Style inputs via default browser baarakɛcogo ni :invalid
. A jira type
, ka fɛn dɔ fara a kan required
ni foro tɛ sugandi ye, ani (ni a bɛ se ka kɛ) a jira pattern
.
O tɛ sɔrɔ Internet Explorer 7-9 bɔko la k’a sababu kɛ dɛmɛbaliya ye CSS pseudo selectors la.
- <donna kalasi = "span3" suguya = "email" wajibiyalen >
A bɛ fɛn in Fàra disabled
donta dɔ kan walasa ka baarakɛla ka donta bali ani ka ɲɛda cogoya wɛrɛ Daminɛ dɔɔnin.
- <input class = "input-xlarge" id = "disabledInput" type = "text" yɔrɔ = "Dɔnni balilen yan..." balilen >
Bootstrap kɔnɔ, sɛgɛsɛgɛli kɛcogoyaw bɛ sɔrɔ filiw, lasɔminiw, kunnafoniw, ani ɲɛtaa cikanw kama. Walasa ka baara kɛ ni a ye, aw bɛ kalansen bɛnnen fara a lamini .control-group
kan .
- <div class = "kunnafoni-kulu lasɔmini" >
- <label class = "control-label" for = "donniWarning" > Don ni lasɔmini ye </label>
- <div kalasi = "kunnafoni" >
- <doncogo suguya = "sɛbɛn" id = "doncogoLasɔmini" >
- <span class = "dɛmɛ-sira" > a bɛ se ka kɛ ko fɛn dɔ ma ɲɛ </span>
- </div> ye
- </div> ye
- <div class = "kunnafoni-kulu fili" >
- <label class = "control-label" for = "donniError" > Donni ni fili ye </label>
- <div kalasi = "kunnafoni" >
- <doncogo suguya = "sɛbɛnni" id = "donna fili" >
- <span class = "dɛmɛ-sira" > Aw ye fili in latilen </span>
- </div> ye
- </div> ye
- <div class = "kunnafoni-kulu kunnafoni" >
- <label class = "contrôle-label" for = "inputInfo" > Don ni kunnafoni ye </label>
- <div kalasi = "kunnafoni" >
- <doncogo suguya = "sɛbɛn" id = "donnakunnafoni" >
- <span class = "dɛmɛ-yɔrɔ" > Baarakɛla tɔgɔ minɛna kaban </span>
- </div> ye
- </div> ye
- <div class = "kunnafoni-kulu ka ɲɛtaa" >
- <label class = "control-label" for = "donniSuccess" > Donni ni ɲɛtaa ye </label>
- <div kalasi = "kunnafoni" >
- <donni suguya = "sɛbɛn" id = "donniSɔrɔ" >
- <span kalasi = "dɛmɛ-kɔnɔ" > Woohoo! </span> , o ye
- </div> ye
- </div> ye
Kalansow fara <img>
element dɔ kan walasa ka jaw cogoya nɔgɔya poroze o porozɛ kɔnɔ.
- <img src = "..." kalasi = "img-lamini" >
- <img src = "..." kalasi = "img-sɛrɛkili" >
- <img src = "..." kalasi = "img-polaroyidi" >
Kungolow bɛ wuli! .img-rounded
ani .img-circle
u tɛ baara kɛ IE7-8 kɔnɔ ka da dɛmɛnbaliya kan border-radius
.
140 taamasiyɛnw bɛ sɔrɔ sprite cogo la, minnu bɛ sɔrɔ ni gris dibiman ye (default) ani fin, Glyphicons ye minnu di .
Glyphicons Halflings tɛ sɔrɔ fu la cogoya la, nka labɛn dɔ kɛra Bootstrap ni Glyphicons dabɔbagaw cɛ, o y’a to o bɛ se ka kɛ, musaka si tɛ i la i n’a fɔ baarakɛlaw. Barika la, an b’a ɲini aw fɛ aw ka ladɛrɛsi dɔ fara a kan min bɛ se ka kɛ ka segin Glyphicons kan ni a bɛ se ka kɛ tuma o tuma.
Taamaʃyɛnw bɛɛ bɛ taamasiyɛn dɔ de wajibiya <i>
ni kalasi kɛrɛnkɛrɛnnen ye, min bɛ daminɛ ni icon-
. Walasa ka baara kɛ ni nin kode in ye, aw bɛ nin kode in bila yɔrɔ o yɔrɔ la:
- <i kalasi = " taamasiyɛn-ɲini" </i>
Fɛɛrɛw fana bɛ yen minnu bɛ sɔrɔ taamasiyɛn inversé (nɛrɛma) kama, minnu labɛnna ni kalasi kelen wɛrɛ ye. An bɛna nin kalan in waleya kɛrɛnkɛrɛnnenya la hover ani active states kan nav ani dropdown links kama.
- <i kalasi = " taamasiyɛn-ɲini taamasiyɛn-finman" </i>
Kungolow bɛ wuli!Ni aw bɛ baara kɛ ni sɛbɛnniw sɛrɛw kɛrɛfɛ, i n’a fɔ butɔni walima nav jɛgɛnsira la, aw ye aw jija ka yɔrɔ dɔ to <i>
taamasiyɛn kɔfɛ walasa ka yɔrɔ janya ka ɲɛ.
Baara kɛ n’u ye butɔni kɔnɔ, butɔni kuluw kɔnɔ baarakɛminɛn dɔ kama, navigatiɔn, walima foroko dontaw la minnu bilalen bɛ ka kɔn.
- <div kalasi = "btn-baarakɛminɛnw" >
- <div kalasi = "btn-kulu" >
- <a kalasi = "btn" href = "#" ><i kalasi = "taamaʃyɛn-labɛn-nɛgɛjuru" </i></a>
- <a kalasi = "btn" href = "#" ><i kalasi = "taamaʃyɛn-labɛn-cɛmancɛ" </i></a>
- <a kalasi = "btn" href = "#" ><i kalasi = "taamaʃyɛn-labɛn-niman" </i></a>
- <a kalasi = "btn" href = "#" ><i kalasi = "taamasenɲɛ-labɛn-joli" </i></a>
- </div> ye
- </div> ye
- <div kalasi = "btn-kulu" >
- <a kalasi = "btn btn-primary" href = "#" ><i kalasi = "taamaʃyɛn-baarakɛla taamasiyɛn-nɛrɛma" </i> Baarakɛla </a>
- <a kalasi = "btn btn-fɔlɔ-fɔlɔ-dakun-toggle" data-toggle = "dɔrɔgu" href = "#" ><span kalasi = "caret" ></span></a>
- <ul kalasi = "dakun-yɔrɔ" >
- <li><a href = "#" ><i kalasi = "ikɔni-pensili" </i> Labɛn </a></li>
- <li><a href = "#" ><i kalasi = "ikɔni-nɔgɔ" </i> Bɔ </a></li>
- <li><a href = "#" ><i kalasi = " taamasiyɛn-ban-sɛrɛkili" </i> Ban </a></li>
- <li kalasi = "jatebɔlan" </li>
- <li><a href = "#" ><i kalasi = "i" </i> ka ɲɛmɔgɔyaso kɛ </a></li>
- </ul>
- </div> ye
- <a kalasi = "btn btn-ba" href = "#" ><i kalasi = "taama-dolow" </i> dolow </a>
- <a kalasi = "btn btn-misɛnnin" href = "#" ><i kalasi = "taama-dolow" </i> dolow </a>
- <a kalasi = "btn btn-mini" href = "#" ><i kalasi = "taama-dolow" </i> dolow </a>
- <ul kalasi = "nav nav-list" >
- <li kalasi = "baarakɛ" ><a href = "#" ><i kalasi = "ikɔni-so taamasiyɛn-nɛrɛma" </i> So </a></li>
- <li><a href = "#" ><i kalasi = " taamasiyɛn-gafe" </i> gafemarayɔrɔ </a></li>
- <li><a href = "#" ><i kalasi = "ikɔni-pensili" </i> Baarakɛminɛnw </a></li>
- <li><a href = "#" ><i kalasi = "i" </i> Misc </a></li>
- </ul>
- <div kalasi = "kunnafoni-kulu" >
- <label class = "kunnafoni-label" for = "inputIcon" > Email ladɛrɛsi </label>
- <div kalasi = "kunnafoni" >
- <div kalasi = "donni-ɲɛnabɔli" >
- <span kalasi = " farankan" ><i kalasi = "ikɔni-enveloppe" ></i></span>
- <donna kalasi = "span2" id = "donnaIcon" suguya = "sɛbɛn" >
- </div> ye
- </div> ye
- </div> ye