This codelab will teach you how to use the Web Animations API to enhance a single-page HTML website. You'll add transitions between content, and use animations to support an effect based on the scroll position of the page.
The steps are available on the Google I/O codelabs site.