Teacs
Sgrìobhainnean agus eisimpleirean airson goireasan teacsa cumanta gus smachd a chumail air co-thaobhadh, pasgadh, cuideam, agus barrachd.
Atharraich teacsa gu co-phàirtean gu furasta le clasaichean co-thaobhadh teacsa.
Ambitioni dedisse scripsisse iudicaretur. Cras mattis iudicium purus sit amet fermentum. Air a dhèanamh le odio operae, an vulputate felis rhoncus. Praeterea iter est quasdam res quas ex communi. Aig an àm seo, tha piros Afros suidhichte. Faodaidh tu cuideachd aonta a chuir ri Galliae ann an diem certam indicere. Cras mattis iudicium purus sit amet fermentum.
<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>
Airson co-thaobhadh clì, deas, agus meadhan, tha clasaichean freagairteach rim faighinn a bhios a’ cleachdadh na h-aon phuingean leudachaidh sealladh ris an t-siostam clèithe.
Teacs co-thaobhadh clì air gach meud sealladh-seallaidh.
Teacs co-thaobhadh sa mheadhan air gach meud sealladh-seallaidh.
Teacs co-thaobhadh ceart air gach meud sealladh-seallaidh.
Teacs co-thaobhadh clì air seallaidhean meud SM (beag) no nas fharsainge.
Teacs co-thaobhadh clì air seallaidhean meud MD (meadhanach) no nas fharsainge.
Teacs co-thaobhadh clì air seallaidhean meud LG (mòr) no nas fharsainge.
Teacs co-thaobhadh clì air seallaidhean-seallaidh meud XL (barrach mòr) no nas fharsainge.
<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>
Cuir casg air teacsa bho bhith a’ pacadh le .text-nowrap
clas.
<div class="text-nowrap" style="width: 8rem;">
This text should overflow the parent.
</div>
Airson susbaint nas fhaide, faodaidh tu .text-truncate
clas a chuir ris gus an teacsa a ghearradh le ellipsis. Feumaidh display: inline-block
no 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>
Atharraich teacsa gu co-phàirtean le clasaichean calpachadh teacsa.
Teacs le litrichean beaga.
Teacs le mullach àrd.
Teacs CapiTaliZed.
<p class="text-lowercase">Lowercased text.</p>
<p class="text-uppercase">Uppercased text.</p>
<p class="text-capitalize">CapiTaliZed text.</p>
Thoir an aire text-capitalize
nach atharraich ach a’ chiad litir de gach facal, a’ fàgail cùis litrichean sam bith eile gun bhuaidh.
Atharraich gu sgiobalta cuideam (trom) teacsa no clò eadailteach teacsa.
Teacs trom.
Teacsa cuideam àbhaisteach.
Teacsa cuideam aotrom.
Teacs eadailteach.
<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>