+ 1

Why CSS Flexbox doesn't work on Sololearn?

On my code named 'Personal Portfolio Webpage' on places where I use flexbox it acts like I never use it, alignment is bad. Is problem in my device or in Sololearn code playground? https://code.sololearn.com/WRK8k633642a/?ref=app

9th Mar 2019, 12:56 PM
Nemanja Stepanović
6 Respostas
0
Thanks Calviղ for response but that doesn't address the problem, I tested it. I figure it out on my own that problem is in that space-evenly is not recognized (same problem exist in Microsoft Edge) as a valid value for justify-content so I just switch it to space-around and it looks prettier.
10th Mar 2019, 5:39 PM
Nemanja Stepanović
+ 1
Add prefixer to your flexbox https://autoprefixer.github.io eg. display: -webkit-box; display: -ms-flexbox; display: flex;
9th Mar 2019, 1:07 PM
Calviղ
Calviղ - avatar
+ 1
As what i told you, use prefixer, space evenly is work on ms Instead of using justify-content: space-evenly; use -webkit-box-pack: space-evenly; -ms-flex-pack: space-evenly; justify-content: space-evenly;
11th Mar 2019, 4:00 AM
Calviղ
Calviղ - avatar
+ 1
It works on my Ms Edge. As long as we set the correct prefixer.
11th Mar 2019, 8:42 AM
Calviղ
Calviղ - avatar
+ 1
Update my MS Edge, try with prefixers and again prove to myself that everything I said was true. Don't know what else to say except thanks for trying to help me. I solved the problem my way. ✌
11th Mar 2019, 1:44 PM
Nemanja Stepanović
0
Calviղ I told you I try it, it didn't work and space-evenly don't work on Edge, also test it and read about that issue. Don't believe me, open Edge > F12 and experiment with flexbox.
11th Mar 2019, 8:34 AM
Nemanja Stepanović