divs alignment problem in html/css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

divs alignment problem in html/css

I have used max-width to align images inside a div. When I am using different images then the divs are shifting little bit below than normal but appears fine when all images are same. I am attaching the code also( view on desktop and not on mobile ) https://code.sololearn.com/W5nwIAVRUF8e/?ref=app

25th Dec 2019, 6:34 PM
harshit
harshit - avatar
5 Answers
+ 1
Time to start using flexbox )))
25th Dec 2019, 8:05 PM
Зайцева Алёна
Зайцева Алёна - avatar
0
Rishi Anand Anna/Аня Gordon Shubham Sharma please look at this question
25th Dec 2019, 7:51 PM
harshit
harshit - avatar
0
Images are not loading
26th Dec 2019, 5:09 AM
Shubham Sharma
Shubham Sharma - avatar
0
Shubham Sharma try now. Also view it on desktop.
26th Dec 2019, 5:35 AM
harshit
harshit - avatar
0
Лорели Имито I have used inline-flex only.
26th Dec 2019, 5:40 AM
harshit
harshit - avatar