doubt in CSS media query..... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

doubt in CSS media query.....

I am trying to change flex-direction from default to row wise but it doesn't work https://code.sololearn.com/WzB3Mm0tDi2p/#

7th Jul 2020, 12:59 PM
Muralikrishnan
Muralikrishnan - avatar
3 Answers
+ 5
add flex-direction:column; on section_1 & section_2 class first then it will work flex-direction:row; on responsive. Code: .section-1 , .section-2{ display:flex; justify-content:space-between; align-items: flex-start; flex-direction:column; } Here is your fixed code note: Please copy this code if you need,i will delete this after 24h https://code.sololearn.com/W61wx0YqLN9K/?ref=app
7th Jul 2020, 1:14 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 4
That's because default is row
7th Jul 2020, 1:33 PM
Gordon
Gordon - avatar
+ 1
tq
7th Jul 2020, 2:00 PM
Muralikrishnan
Muralikrishnan - avatar