SourceKukura
Ita zviri nyore chinhu chakafara kana kureba nehupamhi hwedu uye kureba zvishandiso.
Hama nemubereki
Upamhi uye kureba zvinoshandiswa zvinogadzirwa kubva $sizes
kuSass mepu mu _variables.scss
. Inosanganisira rutsigiro rwe 25%
, 50%
, 75%
, 100%
, uye auto
nekusarudzika. Shandura iwo ma values sezvaunoda kugadzira akasiyana ekushandisa pano.
Upamhi 25%
Upamhi 50%
Upamhi 75%
Upamhi 100%
Width auto
Kureba 25%
Hurefu 50%
Hurefu 75%
Hurefu 100%
Urefu auto
Iwe unogona zvakare kushandisa max-width: 100%;
uye max-height: 100%;
zvishandiso sezvinodiwa.
Zvinei nechekuona
Iwe unogona zvakare kushandisa zvishandiso kuseta hupamhi uye urefu hunoenderana nekutarisa.