in English

Colors

Taurira zvinorehwa kuburikidza neruvara uine mashoma emavara ekushandisa makirasi. Inosanganisira tsigiro yemaitiro ekubatanidza ane hover nyika, zvakare.

Kuita nehunhu

Dzimwe nguva makirasi emamiriro ezvinhu haagone kushandiswa nekuda kwekutsanangurwa kweimwe sarudzo. Mune zvimwe zviitiko, yakakwana workaround ndeyekuputira chinhu chechinhu chako mune <div>nekirasi.

Kuendesa zvinoreva kunobatsira matekinoroji

Kushandisa ruvara kuwedzera zvinoreva kunongopa chiratidzo chekuona, icho chisingazopirwe kune vashandisi vetekinoroji yekubatsira - senge zvidzitiro zvekuverenga. Ita shuwa kuti ruzivo rwunoratidzwa neruvara rwuri pachena kubva pane zvirimo (semuzvinyorwa zvinooneka), kana kuti zvinosanganisirwa neimwe nzira, senge mamwe mavara akavigwa .sr-onlynekirasi.

Color

.text-primary

.text-secondary

.text-success

.text-danger

.text-yambiro

.text-info

.text-light

.text-dark

.text-body

.text-yakanyarara

.text-white

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

Contextual text makirasi anoshandawo nemazvo pane anchors ane yakapihwa hover uye yekutarisa nyika. Ziva kuti iyo .text-whiteuye .text-mutedkirasi haina yekuwedzera link styling kupfuura underline.

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

Ruvara rwekumashure

Zvakafanana nemakirasi emavara emavara mavara, gadzirisa zviri nyore kumashure kwechinhu kune chero kirasi yemamiriro. Anchor zvikamu zvichasviba pane hover, senge makirasi ezvinyorwa. Background utilities don't setcolor , saka mune dzimwe nguva unozoda kushandisa .text-*zvishandiso.

.bg-primary
.bg-secondary
.bg-kubudirira
.bg-danger
.bg-yambiro
.bg-info
.bg-chiedza
.bg-yakasviba
.bg-white
.bg-transparent
<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>

Background gradient

Kana $enable-gradientsyaiswa ku true(default is false), unogona kushandisa .bg-gradient-utility makirasi. Dzidza nezvesarudzo dzedu dzeSass kugonesa makirasi aya nezvimwe.

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