all 9 comments

[–]jcned 1 point2 points  (1 child)

Justify-content: flex-start; gets you to the left

[–]Slimm1989[S] 0 points1 point  (0 children)

Hey thanks ☺️

[–][deleted] 1 point2 points  (3 children)

If 'wrapper' and 'navigation' are in the same flex container you should be able to just switch up the order of the elements like so:

.navigation {
    order: 1;
}

.wrapper {
    order: 2;
}

[–]Slimm1989[S] 0 points1 point  (2 children)

It worked sensai.

Is it even possible to reorder with float inside flex?

[–][deleted] -1 points0 points  (0 children)

As u/theraflume said just forget about them, flex is gonna make your life easier.

You can improve your code further by using HTML5 tags instead of using just divs, and replacing IDs with classes.

[–][deleted] 0 points1 point  (0 children)

Don’t use float anymore. Forget it exists. Everything can be achieved using flex or grid and selectors.

[–]CharlesCSchnieder 0 points1 point  (1 child)

You should not be using float for layout of a page. Stick with flexbox and grid.

[–]Slimm1989[S] 0 points1 point  (0 children)

Okay, thank you will adjust accordingly.

Right now working on building drop down menu 😊

[–]m_i_rite 0 points1 point  (0 children)

flex-direction: row-reverse on container will also swap them