How would u set an image that wouldn't get out of the grid when u resize the window? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How would u set an image that wouldn't get out of the grid when u resize the window?

13th Jun 2020, 9:16 PM
Oh Boi!
Oh Boi! - avatar
3 Answers
+ 3
Suppose the image is in a container so you simply set the height width using % for image
13th Jun 2020, 9:29 PM
Abhay
Abhay - avatar
+ 2
Applying overflow:auto for footer works fine ,but I dunno how so lol!anyway it solves the problem
14th Jun 2020, 2:21 PM
Abhay
Abhay - avatar
+ 1
Abhay bro,I'm leaving the code below but unfortunately code ground doesn't support local image file hosting.still,u can see the Twitter icon in the footer is getting out of its box as well. https://code.sololearn.com/WG48F2HZY777/?ref=app
14th Jun 2020, 1:47 PM
Oh Boi!
Oh Boi! - avatar