W3C home > Mailing lists > Public > www-style@w3.org > November 2013

Re: [css-grid] Are grid positions animatable?

From: Daniel Holbert <dholbert@mozilla.com>
Date: Thu, 14 Nov 2013 18:27:27 -0800
Message-ID: <5285868F.2070603@mozilla.com>
To: Jon Rimmer <jon.rimmer@gmail.com>, www-style list <www-style@w3.org>
On 11/14/2013 05:45 PM, Jon Rimmer wrote:
> Hi all,
> 
> Apologies if this has been asked before, but I'm wondering if the position
> of items in a grid layout are intended to be animatable? The properties in
> the spec do not specify one way or the other.

I'd expect that the properties themselves are individually animatable,
where it makes sense. But their interpolated values won't produce any
sort of intermediate sliding around behavior like the demos that you
linked to.

e.g. take "order" (a number, which impacts the grid position) for a
simple example. It can be transitioned between numeric values. But
intermediate "order" values don't produce intermediate overlaid grid
positions. At each instant in time, an "order" animation has a fixed
current value, which produces a particular ordering of the items.

~Daniel
Received on Friday, 15 November 2013 02:27:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:37 UTC