A
A
Artyom2018-09-15 10:17:06
css
Artyom, 2018-09-15 10:17:06

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
5b9cb13df0c8e747805024.png
. 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

1 answer(s)
A
A person from Kazakhstan, 2018-09-15
@danyvasnafig

https://codepen.io/topicstarter/pen/yxqwEP this is how it's done

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question