Styling the dropdown

We need to style the dropdown appropriately to fit with our existing menu. This is the effect we're going to aim for:

I want to separate the drop-down menu's styling from the main nav's styling. We'll do this by creating this big Drop Down Menu comment we have here underneath the main nav:

/****************Drop Down Menu****************/

The dropdown can have its own little section here. So let's start by targeting only the ul inside of has-sub menu. In order to have the submenu placed outside of the white nav bar, let's position it absolutely and 70px from the top:

/****************Drop Down Menu****************/.has-submenu ...

Get Mastering CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.