Agba
Nyefee pụtara site na agba nwere obere klaasị ịba uru agba. Gụnyere nkwado maka ịke njikọ yana steeti hover, kwa.
.ederede-isi
.ederede-secondary
.ederede-aga nke ọma
.ederede-ihe egwu
.ederede ịdọ aka ná ntị
.ederede-ozi
.ederede-ọkụ
.ederede-ọchịchịrị
.ederede emechiri
.ederede-ọcha
<p class="text-primary">.text-primary</p>
<p class="text-secondary">.text-secondary</p>
<p class="text-success">.text-success</p>
<p class="text-danger">.text-danger</p>
<p class="text-warning">.text-warning</p>
<p class="text-info">.text-info</p>
<p class="text-light bg-dark">.text-light</p>
<p class="text-dark">.text-dark</p>
<p class="text-muted">.text-muted</p>
<p class="text-white bg-dark">.text-white</p>
Klas ederede Contextual na-arụkwa ọrụ nke ọma na arịlịka site na ọnọdụ hover na elekwasị anya enyere. Rịba ama na klas .text-white
na .text-muted
klaasị enweghị nhazi njikọ.
<p><a href="#" class="text-primary">Primary link</a></p>
<p><a href="#" class="text-secondary">Secondary link</a></p>
<p><a href="#" class="text-success">Success link</a></p>
<p><a href="#" class="text-danger">Danger link</a></p>
<p><a href="#" class="text-warning">Warning link</a></p>
<p><a href="#" class="text-info">Info link</a></p>
<p><a href="#" class="text-light bg-dark">Light link</a></p>
<p><a href="#" class="text-dark">Dark link</a></p>
<p><a href="#" class="text-muted">Muted link</a></p>
<p><a href="#" class="text-white bg-dark">White link</a></p>
Yiri klaasị agba ederede gburugburu, tọọ ngwa ngwa ndabere nke mmewere na klaasị ọ bụla. Akụkụ arịlịka ga-agba ọchịchịrị na ntugharị, dịka klaasị ederede. Ejighịcolor
akụrụngwa ndabere , yabụ na oge ụfọdụ ị ga-achọ iji .text-*
akụrụngwa.
<div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
<div class="p-3 mb-2 bg-info text-white">.bg-info</div>
<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
Mgbe $enable-gradients
atọrọ ka ọ bụrụ eziokwu, ị ga-enwe ike iji .bg-gradient-
klaasị ịba uru. Site na ndabara, enweghị $enable-gradients
nkwarụ ma ihe atụ dị n'okpuru bụ ụma agbajiri. Emere nke a ka ọ dị mfe ịhazi site na oge ịmalite iji Bootstrap. Mụta maka nhọrọ Sass anyị iji mee ka klaasị ndị a na ihe ndị ọzọ.
<div class="p-3 mb-2 bg-gradient-primary text-white">.bg-gradient-primary</div>
<div class="p-3 mb-2 bg-gradient-secondary text-white">.bg-gradient-secondary</div>
<div class="p-3 mb-2 bg-gradient-success text-white">.bg-gradient-success</div>
<div class="p-3 mb-2 bg-gradient-danger text-white">.bg-gradient-danger</div>
<div class="p-3 mb-2 bg-gradient-warning text-dark">.bg-gradient-warning</div>
<div class="p-3 mb-2 bg-gradient-info text-white">.bg-gradient-info</div>
<div class="p-3 mb-2 bg-gradient-light text-dark">.bg-gradient-light</div>
<div class="p-3 mb-2 bg-gradient-dark text-white">.bg-gradient-dark</div>
Na-emekọ ihe kpọmkwem
Mgbe ụfọdụ, enweghị ike itinye klaasị gburugburu n'ihi nkọwapụta nke onye ọzọ. N'ọnọdụ ụfọdụ, ihe ngwọta zuru oke bụ ijikọ ọdịnaya nke mmewere gị <div>
na klas.
Na-eme ka ọ pụta ìhè na teknụzụ enyemaka
Iji agba iji gbakwunye ihe ọ pụtara naanị na-enye ihe ngosi anya, nke a na-agaghị ebugara ndị ọrụ teknụzụ enyemaka - dị ka ndị na-agụ ihuenyo. Gbaa mbọ hụ na ozi nke agba gosipụtara pụtara ìhè site na ọdịnaya n'onwe ya (dịka ederede a na-ahụ anya), ma ọ bụ tinye ya site na ụzọ ọzọ, dị ka ederede agbakwunyere zoro ezo na .sr-only
klaasị.