Can you define image size in HTML with the height being 150px and width being 50% at same time | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you define image size in HTML with the height being 150px and width being 50% at same time

Would it contradict itself

23rd Jun 2019, 12:03 PM
Corey
Corey - avatar
2 Answers
+ 2
Nope, It would work, It would just be a weirdly stretched image
23rd Jun 2019, 12:11 PM
Danila Karpov
Danila Karpov - avatar
+ 1
I figured I ask just for the general knowledge not thinking I'd switch the measurements up like that in a real scenario haha but thank you
23rd Jun 2019, 12:14 PM
Corey
Corey - avatar