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-img
na .figure-caption
ku 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-fluid
tlilasi eka ya wena <img>
leswaku yi hlamula.
<figure class="figure">
<img src="..." 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 .
<figure class="figure">
<img src="..." 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>