Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to recreate YouTube's tab animation in this 31-minute tutorial video by Kevin Powell. Explore techniques for creating an underline effect using transform and scale properties for better performance. Follow along as the instructor guides you through setting up CSS, implementing JavaScript to move the underline on tab clicks, animating underline position, matching underline width to tab width, and creating a stretching effect during transitions. Gain insights into semantic CSS and tab functionality while improving your web development skills.
Syllabus
- Introduction
- What we are starting with
- Setting up the CSS
- Using JS to move the underline when we click on a tab
- Animating the underline position
- Getting the underline to match the width of the tab
- Making the underline stretch as it moves to a new position
Taught by
Kevin Powell