Source

Amanani

Amadokhumenti nezibonelo zokubonisa izithombe ezihlobene nombhalo nengxenye yesibalo ku-Bootstrap.

Noma nini lapho udinga ukubonisa ucezu lokuqukethwe—njengesithombe esinamagama-ncazo ongasikhetha, cabanga ukusebenzisa i- <figure>.

Sebenzisa okufakiwe .figure, .figure-imgkanye .figure-captionnamakilasi ukuze unikeze izitayela eziyisisekelo ze-HTML5 <figure>nezici <figcaption>. Izithombe ezisezibalo azinasayizi osobala, ngakho qiniseka ukuthi ungeza .img-fluidikilasi kwelakho <img>ukuze ulenze liphendule.

400x300
Amazwibela esithombe esingenhla.
<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>

Ukuqondanisa amagama-ncazo wesithombe kulula ngezinsiza zethu zombhalo .

400x300
Amazwibela esithombe esingenhla.
<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>