+ 2

CSS flex box element are not taking width properly.

I am currently working on below project. https://code.sololearn.com/W3fa7g46h21y/?ref=app The problem is in display:flex; elements are not taking the width of their parent container. They are overflowing and on changing screen size their size is not responding as per container width. How can I fix it ? â„č see line 32 & 54

17th May 2022, 5:37 AM
Ayush Kumar
Ayush Kumar - avatar
3 Answers
0
Try display: inline-flex;
17th May 2022, 6:30 AM
Gayatri Dunakhe
Gayatri Dunakhe - avatar
0
Nop not worked Gayatri Dunakhe
17th May 2022, 8:00 AM
Ayush Kumar
Ayush Kumar - avatar
0
Ok
17th May 2022, 11:42 AM
Gayatri Dunakhe
Gayatri Dunakhe - avatar