Kɔla ahorow
Da ntease adi denam kɔla so denam kɔla mfaso adesua ahorow kakraa bi so. Nea ɛka ho ne mmoa a wɔde ma styling links ne hover states, nso.
Ahosuo
.nsɛm-a-mfitiase
.nsɛm-nsɛm a ɛto so abien
.nkyerɛwee-nkonimdi
.text-asiane
.nsɛm-a-kɔkɔbɔ
.nsɛm-nsɛm
.nkyerɛwee-hann
.nsɛm-a-ɛyɛ sum
.nsɛm-nipadua
.nsɛm a wɔde ayɛ mum
.nkyerɛwee-fitaa
.nsɛm-a ɛyɛ tuntum-50
.nsɛm-a-fitaa-50
Contextual text classes nso yɛ adwuma yiye wɔ anchors a wɔde hover ne focus states a wɔde ama no so. Hyɛ no nsow sɛ .text-white
ne .text-muted
adesuakuw no nni link styling foforo biara a ɛboro underline so.
Akyi kɔla
Te sɛ nsɛm a ɛfa nsɛm ho kɔla adesua ahorow no, ɛnyɛ den sɛ wode element bi akyi nsɛm besi nsɛm a ɛfa nsɛm ho adesua biara so. Anchor components bɛyɛ sum wɔ hover so, te sɛ text classes no ara pɛ. Background utilities do not setcolor
, enti wɔ tebea horow bi mu no wobɛpɛ sɛ wode .text-*
utilities di dwuma.
Akyi nsɛm a ɛkɔ soro
Sɛ $enable-gradients
wɔde si true
(default yɛ false
) a, wubetumi de .bg-gradient-
mfaso adesua ahorow adi dwuma. Sua yɛn Sass options a ɛbɛma saa adesua ahorow yi ayɛ adwuma ne nea ɛkeka ho ho ade.
.bg-gradient-primary
.bg-gradient-secondary
.bg-gradient-success
.bg-gradient-danger
.bg-gradient-warning
.bg-gradient-info
.bg-gradient-light
.bg-gradient-dark
Nneɛma pɔtee bi a wodi ho dwuma
Ɛtɔ da bi a, wontumi mfa nsɛm a ɛfa ho adesua ahorow nni dwuma esiane sɛ ɔpawfo foforo no yɛ pɔtee nti. Wɔ tebea horow bi mu no, adwumayɛ a ɛdɔɔso ne sɛ wobɛkyekyere wo element no mu nsɛm wɔ a <div>
ne adesuakuw no mu.
Ntease a wɔde bɛma mfiridwuma ahorow a ɛboa
Kɔla a wɔde di dwuma de ntease ka ho no ma wonya sɛnkyerɛnne a wotumi hu nkutoo, a wɔremfa nkɔma wɔn a wɔde mfiridwuma a ɛboa di dwuma – te sɛ screen akenkanfo. Hwɛ sɛ nsɛm a wɔde kɔla no kyerɛ no da adi pefee fi emu nsɛm no ankasa mu (sɛ nhwɛso no, nsɛm a wotumi hu no), anaasɛ wɔde bɛka ho denam akwan foforo so, te sɛ nsɛm foforo a wɔde asie ne .sr-only
adesuakuw no mu.