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.
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-only
papa.
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-white
a 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.
<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-gradients
hoʻonohonoho ʻia true
(ʻo ka default false
), hiki iā ʻoe ke hoʻohana i .bg-gradient-
nā papa hana. 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-danger
.bg-gradient-warning
.bg-gradient-info
.bg-gradient-light
.bg-gradient-dark