in English
Lipalo
Litokomane le mehlala ea ho hlahisa litšoantšo le mongolo o amanang le karolo ea setšoantšo ho Bootstrap.
Leqepheng lena
Nako le nako ha u hloka ho hlahisa karolo ea litaba-joaloka setšoantšo se nang le mantsoe a boikhethelo, nahana ka ho sebelisa <figure>
.
Sebelisa tse kenyellelitsoeng .figure
, .figure-img
le .figure-caption
litlelase ho fana ka mefuta e meng ea mantlha ea HTML5 <figure>
le <figcaption>
likarolo. Litšoantšo ka lipalo ha li na boholo bo hlakileng, kahoo etsa bonnete ba hore u kenya .img-fluid
sehlopha ho ea hau <img>
ho etsa hore e arabele.
<figure class="figure">
<img src="..." class="figure-img img-fluid rounded" alt="...">
<figcaption class="figure-caption">A caption for the above image.</figcaption>
</figure>
Ho lekanya mongolo ho bonolo le lisebelisoa tsa rona tsa mongolo .
<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
Lintho tse fapaneng
$figure-caption-font-size: $small-font-size;
$figure-caption-color: $gray-600;