W3C home > Mailing lists > Public > www-style@w3.org > October 2012

[css3-animation] keyframes and percentages

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 9 Oct 2012 07:28:35 -0400 (EDT)
To: www-style@w3.org
Message-ID: <alpine.DEB.1.10.1210090723430.27530@wnl.j3.bet>
Hi,
The spec is a bit silent about that, but is it ok to have negative 
percentages or percentages over 100%?
It is not specified at all, so it should be allowed, and if you have
-20% {
   top: 10px;
   animation-timing-function: ease-out;
}
20% {
   top: 20px;
}
The animation should still start at 0%, so from a point in the curve 
defined by the ease-out function.
Was that the intent? (and so should it be explicit in the specification?)
Cheers,

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Tuesday, 9 October 2012 11:28:36 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:20 UTC