- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Mon, 20 Apr 2020 19:27:24 +0000
- To: public-css-archive@w3.org
> Also, make sure that the smooth transition of linear gradients is supported. That is already possible by using custom properties. See https://css-houdini.rocks/animating-gradient/. Additionally to that, there is a discussion in #3783 covering the animation of gradients (without having to define custom properties). Sebastian > `cross-fade()` is defined in https://drafts.csswg.org/css-images-3/#cross-fade-function which can be used to interpolate between different image values. It would make sense to define animation of background-image in terms of this function. For the note, `cross-fade()` was [postponed to CSS Images 4](https://drafts.csswg.org/css-images-4/#cross-fade-function). Though I think the definition in CSS Backgrounds 3 of `background-image` being animatable should [refer to the definition of interpolations in CSS Images 3](https://drafts.csswg.org/css-images-3/#interpolation) (which basically says the same, images are only discretely animatable). In CSS Backgrounds 4 the definition should then refer to the [definition of image transitions in CSS Images 4](https://drafts.csswg.org/css-images-4/#interpolation). Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/578#issuecomment-616760725 using your GitHub account
Received on Monday, 20 April 2020 19:27:27 UTC