Imagines
Documenta et exempla pro imaginibus optandi in mores dociles (ita numquam majores elementis parentium fiunt) ac levia genera illis addunt - omnia per classes.
Responsiva imagines
Imagines in Bootstrap fiunt responsivae cum .img-fluid
. max-width: 100%;
et height: auto;
ad imaginem applicatur ut elementum parentis trutinat.
<img src="..." class="img-fluid" alt="...">
Imagines SVG et Penitus Rimor
In Penitus Rimor 10 et 11, SVG imagines cum .img-fluid
proportione sunt magnitudines. Hoc defigere, addere width: 100%;
vel .w-100
ubi necesse fuerit. Hoc improprie fige magnitudines alias formas imaginum, ideo Bootstrap non statim eam applicat.
Image ailnthubms
Praeter ad utilitates nostrae radiophonicae , uti potes .img-thumbnail
imaginem dare 1px rotundi speciem.
<img src="..." class="img-thumbnail" alt="...">
Imagines aligning
Conlineare imagines cum adiutorio float classes or text alignment classes . block
-level imagines sitas esse potest utens in .mx-auto
margine utilitate classis .
<img src="..." class="rounded float-left" alt="...">
<img src="..." class="rounded float-right" alt="...">
<img src="..." class="rounded mx-auto d-block" alt="...">
<div class="text-center">
<img src="..." class="rounded" alt="...">
</div>
Picture
Si <picture>
elementum uteris ad multa <source>
elementa specifica pro specifica <img>
, fac .img-*
classibus addere <img>
et non <picture>
tag.
<picture>
<source srcset="..." type="image/svg+xml">
<img src="..." class="img-fluid img-thumbnail" alt="...">
</picture>