Why do you have two elements with flexbox applied?
Comment posted by Imran Rafiq Rather
Dear @Sasan… There are a lots of issues with the code when it comes to using good CSS… Let me modify it a bit as per my understanding of what you want to achieve π
Comment posted by Sasan R.Nami
Dear @ImranRafiqRather. that is very kind of you. Thanks alot
Comment posted by codepen.io/emmeiWhite/pen/MWjXqpQ
Please check this one : I just made some modification :
Comment posted by Imran Rafiq Rather
If there is anything else you require, just let me know π And if it works I will answer it accordingly π
Comment posted by Sasan R.Nami
first of all, thank you very much. How can navigation and login button be side by side and also everything stay in the middle
Comment posted by Imran Rafiq Rather
Hmm, I got it… I will update on the main code π
Comment posted by codepen.io/emmeiWhite/pen/MWjXqpQ
Please have a look. Is this what is required
Comment posted by Sasan R.Nami
Thank you @Imran Rafiq Rather
Comment posted by Imran Rafiq Rather
Best way would be to use a Hamburger menu and logo on navbar. And once the handburger icon is clicked show the other links π