in English
Angka
Dokumentasi lan conto kanggo nampilake gambar lan teks sing gegandhengan karo komponen tokoh ing Bootstrap.
Kapan wae sampeyan kudu nampilake potongan konten-kaya gambar kanthi caption opsional, coba gunakake <figure>
.
Gunakake klebu .figure
, .figure-img
lan .figure-caption
kelas kanggo nyedhiyani sawetara gaya dhasar kanggo HTML5 <figure>
lan <figcaption>
unsur. Gambar ing tokoh ora duwe ukuran sing jelas, dadi manawa kanggo nambah .img-fluid
kelas sampeyan <img>
supaya responsif.
<figure class="figure">
<img src="..." class="figure-img img-fluid rounded" alt="...">
<figcaption class="figure-caption">A caption for the above image.</figcaption>
</figure>
Nyelarasake caption tokoh iku gampang karo keperluan teks kita .
<figure class="figure">
<img src="..." class="figure-img img-fluid rounded" alt="...">
<figcaption class="figure-caption text-right">A caption for the above image.</figcaption>
</figure>