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

RE: [css-variables] are variables animatable?

From: François REMY <francois.remy.dev@outlook.com>
Date: Mon, 20 May 2013 20:48:32 +0200
Message-ID: <DUB403-EAS130FAD400D3BAFC8F288CA3A5AF0@phx.gbl>
To: "'Tab Atkins Jr.'" <jackalmage@gmail.com>, "'Cameron McCormack'" <cam@mcc.id.au>
CC: "'www-style list'" <www-style@w3.org>
± Yes, they're not animatable.  (Or rather, they fall into the generic bucket of
± "flip halfway through the timing function".)  I'll add an Animatable line to the
± spec.
± 
± ~TJ

Hum, can we specify they flip immediately by default? Because this is the behavior you want in order to keep variables no-op. 

Again: 
@keyframes { from { top: 0px; } to { top: 100px; } }
@keyframes { from { top: get(var-top); var-top: 0px; } to { var-top: 100px; } }
Received on Monday, 20 May 2013 18:49:07 UTC

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