Re: Proposal: Motions along a path in CSS

Right. But that means that the path has to be in content somewhere (either SVG in the HTML or a separate file). It would be nice if I could put everything in the style sheet. 

Dean (using thumbs)

> On 5 Sep 2014, at 11:23, Brian Birtles <bbirtles@mozilla.com> wrote:
> 
>> On 2014/09/05 8:33, Dean Jackson wrote:
>> I like this suggestion (and a strong +1 to Dirk's proposal overall).
>> 
>> One downside I don't like is that you'd have to duplicate a possibly long path in an animation. e.g.
>> 
>> from { transform: motion(<some path> 0%); }
>> to { transform: motion(<the same path> 100%); }
>> 
>> If there are 30 keyframes it gets more ugly. Could we come up with a way to avoid this?
> 
> I believe the syntax allows for a <url> that "references an SVG graphics element and uses its geometry as motion path".

Received on Friday, 5 September 2014 02:56:58 UTC