Answer the question
In order to leave comments, you need to log in
How can I make the next non-flexbox div be on the same line as the flexbox div in flexbox?
Here I have a logo and numbers located inside the header tag and inside the div, which has display flexbox
. And then there is a nav tag outside the header tag with buttons that are visible on the screen. How can I make the menu with the nav tag
stand on line 1 with a headerom inside which the elements are in a flexbox div.
In general, in theory, this is not semantically correct if they are on the same line, but if I need both the logo and the menu to be on the same line, then what should I do in such cases? Push nav into header? After all, the header in any way should be, as in principle nav.
Answer the question
In order to leave comments, you need to log in
https://codepen.io/topicstarter/pen/yxqwEP this is how it's done
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question