-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Milestone
Description
Abstract
Numerous CSS modules have interpolation as a part of them: keyframe animations, transitions, gradients, and the new color mix functions. Consolidating interpolation into a module that makes the behavior more consistent across these, while also providing a path to new features like gradient easing, would be more logical and consistent for CSS authors.
Pain points in CSS and CSS drafts
- CSS gradient easing is a much requested feature [css-images] Add easing functions to color stops #1332
- Unlike gradients, CSS keyframes require all relative units. Imagine if one could use
0.5salongside50%in keyframes. - Shifting scroll-linked animations to a more appropriate scroll-linked interpolation as it’s based on length typed measurements, not time.
New possibilities for the future
- Interpolate styles based on viewport width (like interpolating breakpoints)
- Possibly new ways to interpolate variable font settings
Related issues
- Rename spec and wording to be more generic [css-timing] Rename spec and wording to be more generic #1577
- Add easing to color stops [css-images] Add easing functions to color stops #1332