Tɛmɛn ka taa kunnafoni kunbabaw la Tɛmɛn ka taa docs navigation kan
in English

Ombres (Ombres).

Aw bɛ biɲɛw fara walima ka bɔ fɛnw kan ni box-shadow nafamafɛnw ye.

Misaliw

Hali ni biɲɛ minnu bɛ yɔrɔw kan olu bɛ bali ka daminɛ Bootstrap kɔnɔ ani u bɛ se ka baara kɛ ni $enable-shadows, i bɛ se fana ka teliya ka biɲɛ dɔ fara walima k’a bɔ yen n’an ka box-shadownafama-kalansow ye. A bɛ dɛmɛ don .shadow-noneani hakɛ dafalen saba (minnu ni fɛn caman bɛ ɲɔgɔn na minnu bɛ bɛn ɲɔgɔn ma).

Ombre tɛ yen
Ombre fitinin
Ombre régulier
Ombre min ka bon kosɛbɛ
<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 ye

Yɛlɛma-yɛlɛmaw

$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);

Nafamafɛnw API

Shadow utilities bɛ fɔ an ka utilities API kɔnɔ san scss/_utilities.scss. Aw ye baara kɛcogo dɔn ni utilities API ye.

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