Skip to di men tin dɛn we de insay Skip to doks nevigishɔn
Check
in English

Shado dɛn we de na di wɔl

Ad ɔ pul shado dɛn to ɛlimɛnt dɛn wit bɔks-shado yutiliti dɛn.

Ɛgzampul dɛn

Pan ɔl we shado dɛn pan kɔmpɔnɛnt dɛn de disable bay difɔlt na Bootstrap ɛn dɛn kin ɛnabul dɛn via $enable-shadows, yu kin ad ɔ pul shado kwik kwik wan bak wit wi box-shadowyutiliti klas dɛn. Inklud sɔpɔt fɔ .shadow-noneɛn tri difɔlt saiz dɛn (we gɛt asosiet vɛriɔbul dɛn fɔ mach).

Nɔ shado nɔ de
Smɔl shado
Shado we de apin ɔltɛm
Shado we big pas am
html
<div class="shadow-none p-3 mb-5 bg-light rounded">No shadow</div>
<div class="shadow-sm p-3 mb-5 bg-body rounded">Small shadow</div>
<div class="shadow p-3 mb-5 bg-body rounded">Regular shadow</div>
<div class="shadow-lg p-3 mb-5 bg-body rounded">Larger shadow</div>

Sass bin de

Di tin dɛn we kin chenj

$box-shadow:                  0 .5rem 1rem rgba($black, .15);
$box-shadow-sm:               0 .125rem .25rem rgba($black, .075);
$box-shadow-lg:               0 1rem 3rem rgba($black, .175);
$box-shadow-inset:            inset 0 1px 2px rgba($black, .075);

Yutiliti dɛn API

Shadow yutiliti dɛn de diklar insay wi yutiliti dɛn API insay scss/_utilities.scss. Lan aw fɔ yuz di yutiliti dɛn API.

    "shadow": (
      property: box-shadow,
      class: shadow,
      values: (
        null: $box-shadow,
        sm: $box-shadow-sm,
        lg: $box-shadow-lg,
        none: none,
      )
    ),