0

How can i resize an image

image resize

14th May 2017, 11:22 PM
TrueJu
TrueJu - avatar
8 ответов
+ 4
Or add img{ display:block; transform:scale(2,2); }
15th May 2017, 5:51 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
resize where? #trainTelepathyWithSololearn
14th May 2017, 11:27 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
+ 2
/* resize to fit the screen */ img { display: block; width: 100%; height: auto; }
15th May 2017, 1:12 AM
Calviղ
Calviղ - avatar
+ 1
set width & height of the image in the css. EXAMPLE: img { width:300px; height:300px; }
15th May 2017, 12:23 AM
Hiro
Hiro - avatar
0
in the browser
14th May 2017, 11:28 PM
TrueJu
TrueJu - avatar
0
just set height and width in css for this image
14th May 2017, 11:29 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
ok
14th May 2017, 11:29 PM
TrueJu
TrueJu - avatar
0
ok thx
15th May 2017, 10:46 AM
TrueJu
TrueJu - avatar