Tɛks
Dokumɛnt ɛn ɛgzampul fɔ kɔmɔn tɛks yutiliti fɔ kɔntrol alaynɛshɔn, rap, wet, ɛn ɔda tin dɛn.
I izi fɔ rialayn tɛks to kɔmpɔnɛnt dɛn wit tɛks alaynɛshɔn klas dɛn.
Ambitioni dedisse fɔ rayt fɔ yuz fɔ rayt. Kras matis iudicium purus sidon amet fεmεnt. Donec sed odio operae, yu vulputate felis rכnkɔs. Praeterea iter est kwasdam res kwas ex komyun. Na nos hinc posthac, sitientis piros Afros. Petierunt uti sibi konsiliɔm totiɔs Galia in diem sɛrtam indisɛri. Kras matis iudicium purus sidon amet fεmεnt.
<p class="text-justify">Ambitioni dedisse scripsisse iudicaretur. Cras mattis iudicium purus sit amet fermentum. Donec sed odio operae, eu vulputate felis rhoncus. Praeterea iter est quasdam res quas ex communi. At nos hinc posthac, sitientis piros Afros. Petierunt uti sibi concilium totius Galliae in diem certam indicere. Cras mattis iudicium purus sit amet fermentum.</p>
Fɔ lɛft, rayt, ɛn sɛnta alaynɛshɔn, rispɔnsiv klas dɛn de we de yuz di sem viupɔt wid brekpɔynt dɛn we di grid sistem de yuz.
Left alaynɛt tɛks pan ɔl di sayz dɛn fɔ di viupɔt.
Sɛntral alaynɛd tɛks pan ɔl di sayz dɛn fɔ di viupɔt.
Rayt alaynɛt tɛks pan ɔl di sayz dɛn fɔ di viupɔt.
Left alaynɛt tɛks pan viupɔt dɛn we gɛt saiz SM (smɔl) ɔ we big pas dat.
Left alayned tɛks pan viupɔt dɛn we gɛt saiz MD (midul) ɔ we big pas dat.
Left alaynɛt tɛks pan viupɔt dɛn we gɛt LG (big) ɔ we big pas dat.
Left alayned tɛks pan viupɔt dɛn we gɛt sayz XL (ɛkstra-big) ɔ we big pas dat.
<p class="text-left">Left aligned text on all viewport sizes.</p>
<p class="text-center">Center aligned text on all viewport sizes.</p>
<p class="text-right">Right aligned text on all viewport sizes.</p>
<p class="text-sm-left">Left aligned text on viewports sized SM (small) or wider.</p>
<p class="text-md-left">Left aligned text on viewports sized MD (medium) or wider.</p>
<p class="text-lg-left">Left aligned text on viewports sized LG (large) or wider.</p>
<p class="text-xl-left">Left aligned text on viewports sized XL (extra-large) or wider.</p>
Nɔ mek tɛks nɔ rap wit wan .text-nowrap
klas.
<div class="text-nowrap" style="width: 8rem;">
This text should overflow the parent.
</div>
Fɔ mek yu gɛt lɔng kɔntinyu, yu kin ad wan .text-truncate
klas fɔ kɔt di tɛks wit ɛlipsis. I nid fɔ gɛt display: inline-block
ɔ display: block
.
<!-- Block level -->
<div class="row">
<div class="col-2 text-truncate">
Praeterea iter est quasdam res quas ex communi.
</div>
</div>
<!-- Inline level -->
<span class="d-inline-block text-truncate" style="max-width: 150px;">
Praeterea iter est quasdam res quas ex communi.
</span>
Transfɔm tɛks insay kɔmpɔnɛnt dɛn wit tɛks kapitaylayz klas dɛn.
Tekst we gɛt smɔl smɔl lɛta dɛn.
Di tɛks we gɛt big big lɛta dɛn.
Tekst we dɛn dɔn Kapitaliz.
<p class="text-lowercase">Lowercased text.</p>
<p class="text-uppercase">Uppercased text.</p>
<p class="text-capitalize">CapiTaliZed text.</p>
Notis aw i text-capitalize
jɔs de chenj di fɔs lɛta fɔ ɛni wɔd, ɛn lɛf di kes fɔ ɛni ɔda lɛta nɔ afɛkt.
Chenj di wet (boldnɛs) fɔ di tɛks kwik kwik wan ɔ rayt di tɛks italiks.
Tekst we gɛt bold.
Nɔmal wet tɛks.
Layt wet tɛks.
Tekst we dɛn rayt wit italik.
<p class="font-weight-bold">Bold text.</p>
<p class="font-weight-normal">Normal weight text.</p>
<p class="font-weight-light">Light weight text.</p>
<p class="font-italic">Italic text.</p>