Source

Raqamlar

Bootstrap-da rasm komponenti bilan tegishli tasvirlar va matnlarni ko'rsatish uchun hujjatlar va misollar.

Ixtiyoriy sarlavhali rasm kabi kontent qismini ko‘rsatishingiz kerak bo‘lganda, dan foydalaning <figure>.

HTML5 va elementlar uchun ba'zi asosiy uslublarni taqdim etish uchun kiritilgan .figure, .figure-imgva sinflardan foydalaning. Raqamlardagi tasvirlar aniq o'lchamga ega emas, shuning uchun uni sezgir qilish uchun sinfni qo'shishni unutmang..figure-caption<figure><figcaption>.img-fluid<img>

400x300
Yuqoridagi rasm uchun sarlavha.
<figure class="figure">
  <img src="..." 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>

Rasmning sarlavhasini tekislash bizning matn yordam dasturlarimiz yordamida oson .

400x300
Yuqoridagi rasm uchun sarlavha.
<figure class="figure">
  <img src="..." 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>