Imifanekiso
Amaxwebhu kunye nemizekelo yokukhetha imifanekiso ekuziphatheni okuphendulayo (ukuze ingaze ibe mikhulu kunezinto zomzali wayo) kwaye yongeze izitayile ezikhaphukhaphu kubo-zonke ngeeklasi.
Imifanekiso ephendulayo
Imifanekiso kwiBootstrap yenziwe ukuba iphendule nge .img-fluid
. max-width: 100%;
kwaye height: auto;
zisetyenziswe kumfanekiso ukuze ulinganise ngento engumzali.
Imifanekiso yeSVG kunye ne-IE 10
Kwi-Internet Explorer 10, imifanekiso yeSVG enesayizi .img-fluid
engalinganiyo. Ukulungisa oku, yongeza width: 100% \9;
apho kuyimfuneko. Olu lungiso lulinganisa ngokungafanelekanga ezinye iifomati zemifanekiso, ngoko ke iBootstrap ayiyisebenzisi ngokuzenzekelayo.
Imifanekiselo yemifanekiso
Ukongeza kwizinto zethu zerediyasi zomda , ungasebenzisa .img-thumbnail
ukunika umfanekiso inkangeleko engqukuva ye-1px.
Ukulungelelanisa imifanekiso
Lungelelanisa imifanekiso kunye neeklasi ezidadayo zomncedisi okanye iiklasi zolungelelwaniso lombhalo . block
-imifanekiso yenqanaba inokubekwa embindini kusetyenziswa udidi .mx-auto
oluluncedo lomda .
Umfanekiso
Ukuba usebenzisa <picture>
isiqalelo ukukhankanya <source>
izinto ezininzi zokuthile <img>
, qiniseka ukuba ukongeza .img-*
iiklasi kwi <img>
hayi <picture>
kwithegi.