Source

Agba

Nyefee pụtara site na agba nwere obere klaasị ịba uru agba. Gụnyere nkwado maka ịke njikọ yana steeti hover, kwa.

Agba

.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-ahụ

.ederede emechiri

.ederede-ọcha

.ederede-oji-50

.ederede-ọcha-50

<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-body">.text-body</p>
<p class="text-muted">.text-muted</p>
<p class="text-white bg-dark">.text-white</p>
<p class="text-black-50">.text-black-50</p>
<p class="text-white-50 bg-dark">.text-white-50</p>

Klaasị ederede Contextual na-arụkwa ọrụ nke ọma na arịlịka nwere ọnọdụ ntugharị na nleba anya enyere. Rịba ama na .text-whiteklaasị .text-mutedahụ enweghị nhazi njikọ ọzọ gafere akara.

<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>

Agba ndabere

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.

.bg-isi
.bg-secondary
.bg-ihe ịga nke ọma
.bg-ihe egwu
.bg-ịdọ aka ná ntị
.bg-ozi
.bg-ìhè
.bg-ọchịchịrị
.bg-ọcha
.bg- transperent
<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>
<div class="p-3 mb-2 bg-transparent text-dark">.bg-transparent</div>

gradient ndabere

Mgbe $enable-gradientsatọrọ na true(ndabara bụ false), ị nwere ike iji .bg-gradient-klaasị ịba uru. Mụta maka nhọrọ Sass anyị iji mee ka klaasị ndị a na ihe ndị ọzọ.

  • .bg-gradient-primary
  • .bg-gradient-secondary
  • .bg-gradient-success
  • .bg-gradient-danger
  • .bg-gradient-warning
  • .bg-gradient-info
  • .bg-gradient-light
  • .bg-gradient-dark

Na-emekọ ihe kpọmkwem

Mgbe ụfọdụ, enweghị ike itinye klaasị gburugburu n'ihi nkọwapụta nke onye ọzọ ahọpụtara. 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-onlyklaasị.