Pitani kuzinthu zazikulu Pitani kumayendedwe adocs
in English

Ziwerengero

Zolemba ndi zitsanzo zowonetsera zithunzi ndi zolemba zogwirizana ndi gawo lazithunzi mu Bootstrap.

Patsamba ili

Nthawi iliyonse mukafuna kuwonetsa zina - monga chithunzi chokhala ndi mawu ofotokozera, lingalirani kugwiritsa ntchito <figure>.

Gwiritsani ntchito zophatikizidwa .figure, .figure-imgndi .figure-captionmakalasi kuti mupereke masitaelo oyambira a HTML5 <figure>ndi <figcaption>zinthu. Zithunzi muzithunzi zilibe kukula, choncho onetsetsani kuti mwawonjezera .img-fluidkalasi yanu <img>kuti ikhale yomvera.

Placeholder 400x300
Mawu ofotokozera chithunzi pamwambapa.
<figure class="figure">
  <img src="..." class="figure-img img-fluid rounded" alt="...">
  <figcaption class="figure-caption">A caption for the above image.</figcaption>
</figure>

Kuyanjanitsa mawu omasulira ndikosavuta ndi zolemba zathu .

Placeholder 400x300
Mawu ofotokozera chithunzi pamwambapa.
<figure class="figure">
  <img src="..." class="figure-img img-fluid rounded" alt="...">
  <figcaption class="figure-caption text-end">A caption for the above image.</figcaption>
</figure>

Sass

Zosintha

$figure-caption-font-size:          $small-font-size;
$figure-caption-color:              $gray-600;