Re: [csswg-drafts] Interpolate values between breakpoints (#6245)

A wild idea, not sure how viable and possible it is (and maybe something like this was already discussed and dismissed previously?), but… Now that we have our custom cascade `@layer`s, what if we could somehow say “ok, for _this animation_, instead of its regular behavior, let's put it into _this one_ named layer”. All the current rules for the keyframes would work, but only _inside this layer_, meaning that any declarations/animations from other layers that are defined to go over this layer would override any properties that were set with these layered animations.

This way any animations, be it scroll-driven, container-based or regular ones could be safely overridden by utilizing the custom cascade layers.

-- 
GitHub Notification of comment by kizu
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6245#issuecomment-1714732823 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 11 September 2023 23:23:46 UTC