Replacing Float with Flexbox in Nav Menus

August 14, 2018 comments 93 Reads

Since Flexbox and CSS Grid became widely available in browsers, more and more things that used to require float are no longer needed.
This tutorial covers how you can build a nav menu using CSS Float and then how to achieve the same results in much less CSS with Flexbox.
Code GIST: https://gist.github.com/prof3ssorSt3v3/c4e9ae5d735ad5a761d365178aefa061