Creating the navigation

We went on to build one heck of navigation that was in a fixed position to the top with our content scrolled underneath it. It had a nice drop-down menu that animated downward nicely using CSS animations:

We also had our shark animate upon browser refresh; we made it look like it was swimming, and that was a lot of fun. I'm proud of an article I wrote on CSS animations: http://www.richfinelli.com/css-animations-arent-that-tough/. In this article, I get into all the animation properties in detail and slowly progress to creating a rather complex animation:

I find myself constantly referring to the Mozilla Developer Network ...

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.