Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


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


    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)