މައިގަނޑު ކޮންޓެންޓަށް ސްކިޕް ކުރާށެވެ ޑޮކްސް ނެވިގޭޝަނަށް ސްކިޕް ކުރާށެވެ
Check
in English

ކުލަ & ބެކްގްރައުންޑް

ކޮންޓްރެސްޓިންގ ފޯގްރައުންޑް ކުލައަކާއެކު ބެކްގްރައުންޑް ކުލައެއް ސެޓް ކުރާށެވެ.

މި ޞަފްޙާގައެވެ

އޯވަރވިއު

v5.2.0 ގައި އިތުރުކޮށްފައިވެއެވެ

ކުލައާއި ބެކްގްރައުންޑް ހެލްޕަރުން އަޅުގަނޑުމެންގެ .text-*ޔުޓިލިޓީސް އާއި .bg-*ޔުޓިލިޓީސްގެ ބާރު އެއް ކްލާހެއްގައި އެއްކޮށްލައެވެ. އަޅުގަނޑުމެންގެ ސާސް ފަންކްޝަން ބޭނުންކޮށްގެން ، އަޅުގަނޑުމެން އޮޓޮމެޓިކުން ވަކި color-contrast()އެއްޗަކަށް ކޮންޓްރެސްޓިންގ އެއް ކަނޑައަޅަމެވެ .colorbackground-color

ހެޑްސް އަޕް! މިވަގުތު ސީއެސްއެސް ނެޓިވް color-contrastފަންކްޝަނަކަށް ސަޕޯޓެއް ނެތް ކަމުން އަޅުގަނޑުމެން ބޭނުން ކުރަނީ ސާސް މެދުވެރިކޮށް އަޅުގަނޑުމެންގެ އަމިއްލަ ފަންކްޝަނަކަށެވެ. މާނައަކީ ސީއެސްއެސް ވެރިއޭބަލްސް މެދުވެރިކޮށް އަޅުގަނޑުމެންގެ ތީމް ކުލަތައް ކަސްޓަމައިޒް ކުރުމުން މި ޔުޓިލިޓީސް އާއި އެކު ކުލަ ކޮންޓްރެސްޓް މައްސަލަތައް ކުރިމަތިވެދާނެއެވެ.
ކޮންޓްރެސްޓިންގ ކުލައެއް ހުންނަ ޕްރައިމަރީ
ތަފާތު ކުލައެއް ހުންނަ ސެކަންޑަރީ އެވެ
ތަފާތު ކުލައަކާއެކު ކާމިޔާބީ
ތަފާތު ކުލައަކާއެކު ނުރައްކަލެވެ
ތަފާތު ކުލައަކާއެކު އިންޒާރު ދިނުން
ކޮންޓްރެސްޓިންގ ކުލައެއް ޖަހާފައިވާ އިންފޯ
ތަފާތު ކުލައެއް ހުންނަ އަލި
ކޮންޓްރެސްޓިންގ ކުލައެއް ހުންނަ އަނދިރިއެވެ
html އެވެ
<div class="text-bg-primary p-3">Primary with contrasting color</div>
<div class="text-bg-secondary p-3">Secondary with contrasting color</div>
<div class="text-bg-success p-3">Success with contrasting color</div>
<div class="text-bg-danger p-3">Danger with contrasting color</div>
<div class="text-bg-warning p-3">Warning with contrasting color</div>
<div class="text-bg-info p-3">Info with contrasting color</div>
<div class="text-bg-light p-3">Light with contrasting color</div>
<div class="text-bg-dark p-3">Dark with contrasting color</div>

ކޮމްޕޯނެންޓްތަކާއެކު

.text-*ކޮމްބައިންޑް އަދި .bg-*ކްލާސްތަކުގެ ބަދަލުގައި އެތަކެތި ބޭނުންކުރުން ، ބެޖްތަކުގައި ފަދައިން :

އިބްތިދާއީ މަޢުލޫމާތު
html އެވެ
<span class="badge text-bg-primary">Primary</span>
<span class="badge text-bg-info">Info</span>

ނުވަތަ ކާޑުތަކުގައި :

ހެޑަރ އެވެ

ކާޑުގެ ސުރުޚީގެ މައްޗަށް ބިނާކޮށް ކާޑުގެ ކޮންޓެންޓްގެ ބޮޑު ބައެއް އެކުލަވާލުމަށްޓަކައި ބައެއް އަވަސް މިސާލު ލިޔުމެކެވެ.

ހެޑަރ އެވެ

ކާޑުގެ ސުރުޚީގެ މައްޗަށް ބިނާކޮށް ކާޑުގެ ކޮންޓެންޓްގެ ބޮޑު ބައެއް އެކުލަވާލުމަށްޓަކައި ބައެއް އަވަސް މިސާލު ލިޔުމެކެވެ.

html އެވެ
<div class="card text-bg-primary mb-3" style="max-width: 18rem;">
  <div class="card-header">Header</div>
  <div class="card-body">
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
  </div>
</div>
<div class="card text-bg-info mb-3" style="max-width: 18rem;">
  <div class="card-header">Header</div>
  <div class="card-body">
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
  </div>
</div>