1. 2
    Use Absolute Positioning to Position a Tailwind Styled Dropdown Area in a Navbar
    6m 52s

Use Absolute Positioning to Position a Tailwind Styled Dropdown Area in a Navbar

Adam Wathan
InstructorAdam Wathan

Share this video with your friends

Send Tweet

In Build a Responsive Navbar with Tailwind, we built a navbar that we'll use to start out this lesson and drop our account info button and dropdown.

We'll see that adding the dropdown to the navbar won't just work - the positioning is a little off and the navbar is expanding to contain the dropdown as well. We'll see how absolute positioning solves this issue for us when we anchor it's position to the button it's associated with (by making that button a "positioned" element with relative)