mlms13 / Navtacular

A horizontal navigation bar with menus that doesn't depend on Javascript for core functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The flexbox-related CSS is backwards

mlms13 opened this issue · comments

Instead of using floats by default and only using flexbox if modernizr detects it, we should use flexbox by default and fall back to floats if modernizr doesn't detect support.

Nevermind. The full-width class is already overriding floats. Floating will still need to be default, so it doesn't really make sense to override it with full-width, then override the override (to set it back to default) with .no-flexbox &.full-width.

We can make things more clear by moving those styles to the top. We should also get rid of flexbox and only use flexbox-legacy since we aren't using the new syntax yet.