Source

Tinhlayo

Matsalwa na swikombiso swo kombisa swifaniso leswi fambelanaka na matsalwa hi xiphemu xa xifaniso eka Bootstrap.

Nkarhi wun’wana ni wun’wana loko u lava ku kombisa xiphemu xa rungula—ku fana ni xifaniso lexi nga ni marito lama nga hlawuriwa, anakanya hi ku tirhisa <figure>.

Tirhisa titlilasi leti katsiweke .figure, .figure-imgna .figure-captionku nyika switayele swin’wana swa masungulo swa HTML5 <figure>na <figcaption>swiaki. Swifaniso leswi nga eka swifaniso a swi na mpimo lowu nga erivaleni, hikwalaho tiyiseka leswaku u engetela .img-fluidtlilasi eka ya wena <img>leswaku yi hlamula.

400x300 hi ndlela leyi
Xitlhokovetselo xa xifaniso lexi nga laha henhla.
<figure class="figure">
  <img src=".../400x300" class="figure-img img-fluid rounded" alt="A generic square placeholder image with rounded corners in a figure.">
  <figcaption class="figure-caption">A caption for the above image.</figcaption>
</figure>

Ku ringanisa marito ya xifaniso swa olova hi switirhisiwa swa hina swa matsalwa .

400x300 hi ndlela leyi
Xitlhokovetselo xa xifaniso lexi nga laha henhla.
<figure class="figure">
  <img src=".../400x300" class="figure-img img-fluid rounded" alt="A generic square placeholder image with rounded corners in a figure.">
  <figcaption class="figure-caption text-right">A caption for the above image.</figcaption>
</figure>