Google, IBM & Microsoft Certificates — All in One Plan
The Fastest Way to Become a Backend Developer Online
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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