Re: [csswg-drafts] [css-animations-2] there should be a way to set the effect-wide easing for a CSS Animation (#6982)

Another way tackle this could be introducing a new separated property that controls the "mode" of the specified easing to control whether timing function in shorthands are used per keyframe or per iteration.
Something along the line of (TBB):

```css
* {
    animation-easing-mode: iteration; /* or `keyframe` */
}
```

And then, like in the above example, you can set it once as default for all and only override where/if needed otherwise.
Also, this probably shouldn't replace the `animation-easing` proposal, just allow its introduction into shorthands.
@birtles @graouts 
WDYT?

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


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

Received on Tuesday, 24 October 2023 08:29:10 UTC