Amashusho
Inyandiko n'ingero zo guhitamo amashusho mumyitwarire isubiza (ntabwo rero iba nini kuruta ibintu byababyeyi) hanyuma ikongeramo uburyo bworoshye kuri bo - byose binyuze mumasomo.
Amashusho asubiza
Amashusho muri Bootstrap yakozwe neza hamwe .img-fluid
. max-width: 100%;
kandi height: auto;
bikoreshwa kumashusho kuburyo bipima nibintu byababyeyi.
SVG amashusho na Internet Explorer
Muri Internet Explorer 10 na 11, amashusho ya SVG afite .img-fluid
ubunini butagereranywa. Kugira ngo ukosore ibi, ongeraho width: 100%;
cyangwa .w-100
aho bikenewe. Ukosora gukosora muburyo butari bwo ubundi buryo bwamashusho, Bootstrap rero ntabwo iyikoresha mu buryo bwikora.
Igishusho
Usibye imipaka yacu-radiyo yingirakamaro , urashobora gukoresha .img-thumbnail
gutanga ishusho izengurutse umupaka 1px.
Guhuza amashusho
Huza amashusho hamwe nabafasha kureremba ibyiciro cyangwa amasomo yo guhuza inyandiko . block
-amashusho meza arashobora kuba hagati ukoresheje margin .mx-auto
yingirakamaro .
Ishusho
Niba ukoresha ikintu <picture>
kugirango ugaragaze <source>
ibintu byinshi kubintu byihariye <img>
, menya neza ko wongera .img-*
amasomo kuri the <img>
and not to the <picture>
tag.