Source

Dipalopalo

Ditokomane le mehlala ya go bontšha diswantšho tše di amanago le sengwalwa ka karolo ya seswantšho ka go Bootstrap.

Nako le nako ge o swanetše go bontšha karolo ya diteng—go swana le seswantšho seo se nago le tlhaloso yeo e sa ikgethego, nagana ka go diriša <figure>.

Šomiša diklase tše di akareditšwego .figure, .figure-imgle .figure-captiongo fa mekgwa ye mengwe ya motheo ya HTML5 <figure>le <figcaption>dielemente. Diswantšho tšeo di lego ka dipalong ga di na bogolo bjo bo lego molaleng, ka gona kgonthišetša gore o oketša .img-fluidklase go ya gago <img>go dira gore e arabele.

400x300 e le
A caption bakeng sa setšoantšo se ka holimo.
<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>

Go logaganya tlhalošo ya seswantšho go bonolo ka didirišwa tša rena tša sengwalwa .

400x300 e le
A caption bakeng sa setšoantšo se ka holimo.
<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>