We Can Finally Animate height auto; in CSS (Дата оригинальной публикации
CSS calcsize() Article: CSS animations have gotten much better over time, but one thing that has always been a pain is animating to an auto size such as height. This is now a problem of the past, though, thanks to the new calcsize() CSS function. This single CSS function allows you to do some really cool stuff with animations and automatically makes auto sized animations work with no other code changes. On top of that there are a few other incredible new CSS animation features such as startingstyle and transitionbehavior that I cover in this video. Materials, References: CSS calcsize() Article: Animation Crash Course Video: Animation Fill Mode Article: Find Me Here: My Blog: My Courses: Patreon: Twitter: Discord: GitHub: CodePen: Timestamps: 00:00 Introduction 00:36 The Problem 02:03 calcsize 03:38 startingstyle 07:27 transitionbehavior , CSS, WDS, CSSAnimation
|
|