Pitani kuzinthu zazikulu Pitani kumayendedwe adocs
Check
in English

Ziwerengero

Zolemba ndi zitsanzo zowonetsera zithunzi ndi zolemba zogwirizana ndi gawo lachithunzi 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 masitayelo 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.
html
<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.
html
<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;