Tlolela ho litaba tsa mantlha Tlolela ho li-docs navigation
Check
in English

Lipalo

Litokomane le mehlala ea ho hlahisa litšoantšo le mongolo o amanang le karolo ea setšoantšo ho Bootstrap.

Leqepheng lena

Nako le nako ha u hloka ho hlahisa karolo ea litaba-joaloka setšoantšo se nang le mantsoe a boikhethelo, nahana ka ho sebelisa <figure>.

Sebelisa tse kenyellelitsoeng .figure, .figure-imgle .figure-captionlitlelase ho fana ka mefuta e meng ea mantlha ea HTML5 <figure>le <figcaption>likarolo. Litšoantšo ka lipalo ha li na boholo bo hlakileng, kahoo etsa bonnete ba hore u kenya .img-fluidsehlopha ho ea hau <img>ho etsa hore e arabele.

Placeholder 400x300
Tlhaloso ea setšoantšo se ka holimo.
html
<figure class="figure">
  <img src="..." class="figure-img img-fluid rounded" alt="...">
  <figcaption class="figure-caption">A caption for the above image.</figcaption>
</figure>

Ho lekanya mongolo ho bonolo le lisebelisoa tsa rona tsa mongolo .

Placeholder 400x300
Tlhaloso ea setšoantšo se ka holimo.
html
<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

Lintho tse fapaneng

$figure-caption-font-size:          $small-font-size;
$figure-caption-color:              $gray-600;