W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2016

Re: [csswg-drafts] [css-transitions][css-animations] Complex timing functions

From: VisibleCode via GitHub <sysbot+gh@w3.org>
Date: Fri, 24 Jun 2016 18:10:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-228419108-1466791853-sysbot+gh@w3.org>
Adding the missing position parameter to the two control values, the 
syntax would be something like `cubic-spline(c, [c, t, p, c,]* c)`. 
And that example becomes:

```
@keyframes {
    from {
        some-property: 100px;
        animation-timing-function: cubic-spline(0.125, 0.4, 0.5,0.5, 
0.75, 0.8);
    }
    to {
        some-property: 50px;
    }
}
```

-- 
GitHub Notification of comment by visiblecode
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/229#issuecomment-228419108 
using your GitHub account
Received on Friday, 24 June 2016 18:11:05 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:20 UTC