Izithombe
Amadokhumenti nezibonelo zokukhetha izithombe ekuziphatheni okuphendulayo (ukuze zingalokothi zibe zinkulu kunezici zazo zomzali) futhi zengeze izitayela ezingasindi kuzo—konke ngamakilasi.
Izithombe ku-Bootstrap zenziwa ziphendule nge- .img-fluid
. max-width: 100%;
futhi height: auto;
zisetshenziswa esithombeni ukuze sikale ngento engumzali.
Izithombe ze-SVG ne-IE 10
Ku-Internet Explorer 10, izithombe ze-SVG ezinamasayizi .img-fluid
azilinganisiwe. Ukuze ulungise lokhu, engeza width: 100% \9;
lapho kudingeka khona. Lokhu kulungisa kulinganisa ngokungafanele amanye amafomethi wesithombe, ngakho i-Bootstrap ayikusebenzisi ngokuzenzakalelayo.
Ngokungeziwe kuzinsiza zethu zerediyasi yomngcele , ungasebenzisa .img-thumbnail
ukunikeza isithombe ukubukeka komngcele oyindilinga ongu-1px.
Qondanisa izithombe namakilasi okuntanta komsizi noma amakilasi okuqondanisa umbhalo . block
-Izithombe ezisezingeni zingamiswa phakathi kusetshenziswa isigaba sensiza ye- .mx-auto
margin .
Uma usebenzisa i- <picture>
elementi ukuze ucacise <source>
izici eziningi zento ethile <img>
, qiniseka ukuthi ungeza .img-*
amakilasi kokuthi <img>
hhayi <picture>
kumaka.