Re: [css3-animation] why content property not animatable?



On 10/22/14, 7:21 AM, "L. David Baron" <dbaron@dbaron.org> wrote:

>On Wednesday 2014-10-22 00:42 +0000, Sylvain Galineau wrote:
>> There is a fair point here though; when we say 'middle' we're talking
>>about the middle of the timing function curve, which may not be the
>>middle of the corresponding time interval. So if you know when you want
>>a discrete property to change value, figuring out the before/after
>>keyframe selector value is not user-friendly in non-linear cases.
>
>It should be relatively easy with the step-start or step-end timing
>functions, which I think are what we should recommend for discrete
>animations.  The "change at middle of timing function behavior" is
>really just to make everything else defined while also producing the
>results we want for step-start and step-end.

Ah, yes, good point. You can animate discrete values using steps
separately from those things that interpolate and combine the two.

Received on Wednesday, 22 October 2014 20:52:47 UTC