Kɔnvayz minin tru kɔlɔ wit wan anful kɔlɔ yutiliti klas dɛn. Inklud sɔpɔt fɔ stayl link dɛn wit hova stet dɛn, bak.
Kɔlɔ
.tɛks-praymari
.tɛks-sɛkɔndari
.tɛks-sakses
.tɛks-denja
.tɛks-wɔnin
.tɛks-info
.tɛks-layt
.tɛks-dak
.tɛks-bɔdi
.tɛks-mut
.tɛks-wayt
.tɛks-blak-50
.tɛks-wayt-50
Kɔntɛkstual tɛks klas dɛn de wok fayn bak pan ankɔ dɛn wit di hova ɛn fɔs stet dɛn we dɛn dɔn gi. Notis se di .text-whiteɛn .text-mutedklas nɔ gɛt ɛni ɔda link stayl pas ɔndalayn.
Semweso lɛk di kɔntɛkstual tɛks kɔlɔ klas dɛn, izi fɔ sɛt di bakgrɔn fɔ wan ɛlimɛnt to ɛni kɔntɛkstual klas. Ankɔ kɔmpɔnɛnt dɛn go dak we yu de hova, jɔs lɛk di tɛks klas dɛn. Bakgrɔn yutiliti dɛn nɔ de sɛtcolor , so insay sɔm kes dɛn yu go want fɔ yuz .text-*yutiliti dɛn.
.bg-praymari
.bg-sɛkɔndari
.bg-sakses we de wok
.bg-denja fɔ de
.bg-wɔn fɔ wɔn
.bg-info fɔ di wan dɛn we de
.bg-layt fɔ di wan dɛn we de
.bg-dak na dak
.bg-wayt fɔ di wan dɛn we de
.bg-transparent we de sho aw fɔ du sɔntin
Bakgrɔn grɛdiɛnt
We $enable-gradientsdɛn sɛt am to true(difɔlt na false), yu kin yuz .bg-gradient-yutiliti klas dɛn. Lan bɔt wi Sass opshɔn dɛn fɔ ɛnabul dɛn klas ya ɛn mɔ.
.bg-gradient-primary
.bg-gradient-secondary
.bg-gradient-success
.bg-gradient-danger
.bg-gradient-warning
.bg-gradient-info
.bg-gradient-light
.bg-gradient-dark
Dil wit spɛsifisiti
Sɔntɛnde, dɛn nɔ kin ebul fɔ yuz kɔntɛkstual klas dɛn bikɔs ɔf di spɛsifisiti fɔ ɔda sɛlɛktɔ. Sɔntɛnde, wan inaf wok-arawnd na fɔ rap yu ɛlimɛnt in kɔntinyu insay a <div>wit di klas.
Fɔ gi minin to ɛtɛknɔlɔji dɛn we de ɛp
Yuz kala fɔ ad minin de jɔs gi wan vijual indikashɔn, we dɛn nɔ go gi to di wan dɛn we de yuz ɛtɛknɔlɔji dɛn we de ɛp – lɛk skrin rida dɛn. Mek shɔ se di infɔmeshɔn we dɛn sho wit di kɔlɔ de sho klia wan frɔm di tin we de insay insɛf (ɛgz. di tɛks we yu de si), ɔ dɛn put am insay ɔda we dɛn, lɛk ɔda tɛks we dɛn ayd wit di .sr-onlyklas.