in English

Hmanlai thil hlui te

Documentation leh responsive behavior-a image thlan dan entirnan (chuvangin an nu leh pa element aia lian an ni ngai lo) leh an chungah style lightweight te dah belh tur—class kaltlangin zawng zawng.

Responsive thlalak te

Bootstrap a images te chu responsive taka siam a ni a .img-fluid. max-width: 100%;leh height: auto;image-ah chuan parent element nena a scale theih nan an hmang bawk.

Placeholder Responsive image
<img src="..." class="img-fluid" alt="...">
SVG image leh Internet Explorer te a awm bawk

Internet Explorer 10 leh 11 ah chuan SVG images with .img-fluidte hi a size a inang lo hle. Hei hi siamthat tur chuan add width: 100%;emaw .w-100a tulna hmunah emaw dah la. He fix hian image format dangte chu a size dik lo a, chuvangin Bootstrap hian automatic in a apply lo.

Hmanlai thil hlui te

Kan border-radius utilities.img-thumbnail bakah hian image pakhat chu rounded 1px border appearance pe turin i hmang thei bawk.

A generic square placeholder image with a white border around it, making it resemble a photograph taken with an old instant camera 200x200
<img src="..." class="img-thumbnail" alt="...">

Hmanlai thlalakte alignment

Image te chu helper float class emaw text alignment class emaw nen align rawh . block-level images chu .mx-automargin utility class hmangin centered theih a ni .

Placeholder 200x200 Placeholder 200x200
<img src="..." class="rounded float-left" alt="...">
<img src="..." class="rounded float-right" alt="...">
Placeholder 200x200
<img src="..." class="rounded mx-auto d-block" alt="...">
Placeholder 200x200
<div class="text-center">
  <img src="..." class="rounded" alt="...">
</div>

Milem

Element chu specific -a element <picture>tam tak tarlanna atana i hman a nih chuan , class-te chu tag-ah dah la, tag -ah dah lovin dah ngei ngei tur a ni.<source><img>.img-*<img><picture>

<picture>
  <source srcset="..." type="image/svg+xml">
  <img src="..." class="img-fluid img-thumbnail" alt="...">
</picture>