+ 3

Some easy tips for resizing images in css?

6th Apr 2021, 4:35 AM
Raman Subedi
Raman Subedi - avatar
4 Respuestas
+ 1
Width and height property!!
6th Apr 2021, 4:36 AM
Matias
Matias - avatar
+ 1
The only tip you need is set the width of the image you want in px/em/rem or %. And set height to auto, to maintain original image aspect ratio. Don't set height in any % value, you probably would not get a good image aspect ratio.
6th Apr 2021, 7:19 AM
Calviղ
Calviղ - avatar
0
We have to keep that in the same ratio right?
6th Apr 2021, 4:37 AM
Raman Subedi
Raman Subedi - avatar
0
I don't understand can make it clear?
6th Apr 2021, 4:38 AM
Matias
Matias - avatar