+ 3
Some easy tips for resizing images in css?
5 Answers
+ 1
Width and height property!!
+ 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.
0
We have to keep that in the same ratio right?
0
I don't understand can make it clear?