- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Mar 2021 12:13:53 +0000
- To: public-css-archive@w3.org
> We need to calculate the new keyframe selectors and approximate decimal values (e.g. the 66.667% in the above example)
Another possible solution could be the ability to specify the ending percentage, defaulting to 100%. So you would write
```css
@keyframes rainbowText {
@end 4%;
0% { color: red; }
1% { color: orange; }
2% { color: yellow; }
3% { color: green; }
4% { color: blue; }
}
```
Then remove orange
```css
@keyframes rainbowText {
@end 3%;
0% { color: red; }
1% { color: yellow; }
2% { color: green; }
3% { color: blue; }
}
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6151#issuecomment-809328537 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 29 March 2021 12:15:30 UTC