Source

Fig dɛn

Dokumɛnt ɛn ɛgzampul dɛn fɔ sho rilayt pikchɔ ɛn tɛks wit di figa kɔmpɔnɛnt na Bootstrap.

Ɛnitɛm we yu nid fɔ sho sɔntin—lɛk pikchɔ we gɛt kɔpshɔn we yu want, tink bɔt fɔ yuz wan <figure>.

Yuz di inklud .figure, .figure-imgɛn .figure-captionklas dɛn fɔ gi sɔm beslayn stayl dɛn fɔ di HTML5 <figure>ɛn <figcaption>di ɛlimɛnt dɛn. Pikchɔ dɛn we de na figa dɛn nɔ gɛt sayz we klia, so mek shɔ se yu ad di .img-fluidklas to yu <img>fɔ mek i ansa.

Placeholder 400x300
Wan kapshɔn fɔ di pikchɔ we de ɔp.
<figure class="figure">
  <img src="..." class="figure-img img-fluid rounded" alt="...">
  <figcaption class="figure-caption">A caption for the above image.</figcaption>
</figure>

Fɔ alaynɛt di figa in kapshɔn izi wit wi tɛks yutiliti dɛn .

Placeholder 400x300
Wan kapshɔn fɔ di pikchɔ we de ɔp.
<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>