in English
Chif
Dokimantasyon ak egzanp pou montre imaj ki gen rapò ak tèks ak eleman nan figi nan Bootstrap.
Nan paj sa a
Nenpòt lè ou bezwen montre yon moso nan kontni-tankou yon imaj ak yon tit si ou vle, konsidere itilize yon <figure>
.
Sèvi ak klas ki enkli ladan .figure
yo pou bay kèk estil debaz pou HTML5 ak eleman yo. Imaj nan figi pa gen okenn gwosè klè, kidonk asire w ke ou ajoute klas la nan ou a pou fè li reponn..figure-img
.figure-caption
<figure>
<figcaption>
.img-fluid
<img>
<figure class="figure">
<img src="..." class="figure-img img-fluid rounded" alt="...">
<figcaption class="figure-caption">A caption for the above image.</figcaption>
</figure>
Aliman lejand figi a se fasil ak sèvis piblik tèks nou yo .
<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
Varyab
$figure-caption-font-size: $small-font-size;
$figure-caption-color: $gray-600;