Source

Nā kala

E hōʻike i ka manaʻo ma o ka waihoʻoluʻu me ka lima o nā papa pono kala. Hoʻokomo pū ʻia ke kākoʻo no ka hoʻopili ʻana i nā loulou me nā mokuʻāina hover.

kalakala

.text-primary

.text-secondary

.text-success

.text-pilikia

.palapala kikokikona

.text-info

.kukui-kukui

.text-pouli

.kino kikokikona

.mehameha kikokikona

.text-keʻokeʻo

.text-black-50

.text-white-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>

Hana maikaʻi ʻia nā papa kikokikona ma nā heleuma me ka hover a me nā kūlana kikoʻī. E hoʻomanaʻo ʻaʻohe ʻano loulou hou o ka .text-whitea me ka papa ma mua o ke kaha lalo..text-muted

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

Ka waihoʻoluʻu hope

E like me nā papa waihoʻoluʻu kikokikona, hoʻonohonoho maʻalahi i ke kāʻei kua o kekahi mea i kekahi papa pōʻaiapili. E pōʻeleʻele nā ​​mea heleuma ma ka hover, e like me nā papa kikokikona. ʻAʻole hoʻonohonoho ʻia nā pono hanacolor hope , no laila i kekahi mau manawa makemake ʻoe e hoʻohana i .text-*nā pono.

.bg-kumu mua
.bg-lua
.bg-holomua
.bg-pilikia
.bg-palapala
.bg-info
.bg-mālamalama
.bg-pouli
.bg-keʻokeʻo
.bg-akaka
<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>

ʻO ka laulima hope

Ke $enable-gradientshoʻonohonoho ʻia i ka ʻoiaʻiʻo, hiki iā ʻoe ke hoʻohana i .bg-gradient-nā papa hana pono. ʻO ka mea paʻamau, $enable-gradientsua pio a ua haki ʻia ka laʻana ma lalo nei. Hana ʻia kēia no ka hana maʻalahi mai ka manawa e hoʻomaka ai ʻoe e hoʻohana iā Bootstrap. E aʻo e pili ana i kā mākou koho Sass e hiki ai i kēia mau papa a me nā mea hou aku.

.bg-gradient-primary
.bg-gradient-secondary
.bg-gradient-success
.bg-gradient-pilikia
.bg-gradient-warning
.bg-gradient-info
.bg-gradient-kukui
.bg-gradient-pouli
<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>

Ka pili ana me ka kiko'ī

I kekahi manawa ʻaʻole hiki ke hoʻohana ʻia nā papa contextual ma muli o ke ʻano kikoʻī o kahi mea koho ʻē aʻe. I kekahi mau hihia, ʻo kahi hoʻoponopono kūpono e hoʻopili i ka ʻike o kāu mea i loko a <div>me ka papa.

Ka lawe ʻana i ka manaʻo i nā ʻenehana kōkua

ʻO ka hoʻohana ʻana i ke kala e hoʻohui i ka manaʻo e hāʻawi wale i kahi hōʻailona ʻike, ʻaʻole e hāʻawi ʻia i nā mea hoʻohana i nā ʻenehana kōkua - e like me nā mea heluhelu pale. E hōʻoia i ka ʻike i hōʻike ʻia e ka waihoʻoluʻu i ʻike ʻia mai ka maʻiʻo ponoʻī (e laʻa i ke kikokikona ʻike ʻia), a i ʻole e hoʻokomo ʻia ma o nā ala ʻē aʻe, e like me nā kikokikona hou i hūnā ʻia me ka .sr-onlypapa.