This will use flexbox to allow it to be responsive
display: flex;
will make your nav element a flex container- Especially important if your
nav
tag has a home icon on the left and a group of links on the right - If you are using a
ul
inside thenav
, you will need theul
to also be a nav container
- Especially important if your
- use nested selectors for clear code
nav ul { /* Code Here */ }