It's working now. Thanks for your help! The mistake was that the CSS I was applying to #center should have been applied to the body.
Thank you so much! Now I'm much more clear about flexbox than I was before :)
Oh yeah I didn't even catch that one. Well initially even if you applied all those rules to body, it wouldn't work because body had the same height as the content inside it.
I'm glad you figured it all out :)
Yes, the body height thing was a new point for me. Thanks a ton :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It's working now. Thanks for your help!
The mistake was that the CSS I was applying to #center should have been applied to the body.
Thank you so much! Now I'm much more clear about flexbox than I was before :)
Oh yeah I didn't even catch that one. Well initially even if you applied all those rules to body, it wouldn't work because body had the same height as the content inside it.
I'm glad you figured it all out :)
Yes, the body height thing was a new point for me.
Thanks a ton :)