- From: David Dorward <david@dorward.me.uk>
- Date: Tue, 28 Mar 2017 14:25:14 +0100
- To: "Tomáš" <money@centrum.cz>
- Cc: www-validator-css@w3.org
Received on Tuesday, 28 March 2017 13:25:50 UTC
On 28 Mar 2017, at 10:36, Tomáš wrote:
> @keyframes scale-nonstop {
> 0 {
> transform: scale(1.2)
> }
>
> Why is "0" not valid?
Because the specification says that the [keyframe-selector][1] may be
`from`, `to`, or a percentage and that a [percentage][2] is *a number
immediately followed by a percent sign*. `0` is a number that isn’t
followed by a percent sign.
[1]: https://drafts.csswg.org/css-animations/#keyframes
[2]: https://drafts.csswg.org/css-values-3/#percentage-value
Received on Tuesday, 28 March 2017 13:25:50 UTC