in English
Mituya
Mikanda mpe bandakisa mpo na kolakisa bilili mpe makomi oyo etali yango na eteni ya elilingi na Bootstrap.
Na lokasa oyo
Ntango nyonso oyo osengeli kolakisa eteni moko ya makambo —lokola elilingi oyo ezali na maloba oyo okoki kopona, kanisá kosalela <figure>
.
Salelá bakelasi oyo ezali na kati .figure
, .figure-img
mpe .figure-caption
mpo na kopesa mwa mitindo ya ebandeli mpo na HTML5 <figure>
mpe <figcaption>
biloko. Bililingi oyo ezali na bililingi ezali na bonene ya polele te, yango wana kobosana te kobakisa .img-fluid
kelasi na oyo ya yo <img>
mpo ezala na eyano.
<figure class="figure">
<img src="..." class="figure-img img-fluid rounded" alt="...">
<figcaption class="figure-caption">A caption for the above image.</figcaption>
</figure>
Kobongisa maloba ya nse ya elilingi ezali pɛtɛɛ na nzela ya ba utilitaires na biso ya makomi .
<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 oyo azali
Ba variables oyo ezali
$figure-caption-font-size: $small-font-size;
$figure-caption-color: $gray-600;