Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Animating Height Auto with Interpolate-size and Calc-size in CSS

Kevin Powell via YouTube

Overview

Learn how to animate and perform mathematical operations on height properties like 'auto' in this 15-minute tutorial video that explores the powerful CSS features interpolate-size and calc-size(). Master the implementation of interpolate-size on HTML selectors, understand why it isn't set as a default property, and discover its compatibility with various keywords beyond focus. Explore practical applications as a progressive enhancement technique and see how these properties work seamlessly with animations. Gain insights into calc-size() functionality and develop the knowledge to choose the most appropriate sizing method for specific use cases. Through hands-on demonstrations and clear explanations, grasp these modern CSS techniques to create more dynamic and responsive web layouts.

Syllabus

- Introduction
- 12 days of web
- interpolate-size
- put interpolate-size on your html selector
- why this isn’t the new default
- works with keywords other than focus
- using it as a progressive enhancement
- it works with animations too
- calc-size
- how to pick which one to use

Taught by

Kevin Powell

Reviews

Start your review of Animating Height Auto with Interpolate-size and Calc-size in CSS

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.