Creating the Main Navigation and Drop-Down Menu

In this chapter, we'll build all of the functionality and presentation for the site's primary navigation. This chapter is pretty deep, as building our main nav involves pseudo classes; static, absolute, relative, and fixed positioning; and CSS animations.

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.