Day # 6: Hamburger Menu


For this day I decided to create a responsive hamburger menu, a feature that is very helpful when it comes to displaying navbars, especially on smaller screens. The key here is to employ icons from font-awesome for the hamburger menu and for its closing as well. Also, we need to be able to display the menu when the screen gets to a certain width. Instead of showing those times horizontally, we need to show them vertically, which we can do by only changing the setting of the flex-direction property to column. To add an extra touch of styling, I have added a small line below the menu items by using the after pseudo class. Once you hover over them, that thin line goes from right to left in a smooth way. Remember that we need to think of this type of detail to improve the UX, always taking our final client under consideration.

Comments

Popular posts from this blog

Day # 35: Flip Book

Day # 1: Homepage w/Introduction

Day # 8: Inspiration