The two navigations above are using the exact same css. They display a standard nav bar on desktop and shrink into a dropdown menu on small screens. Using text-align: justify and inline-blocks allows the items to span the nav container evenly across no matter how many items there are. This technique requires the use of pseudo elements so beware of issues with Internet Explorer. See this article by the amazing Mary Lou, for more information.