W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

Re: [csswg-drafts] [css-images] Add easing functions to color stops

From: Andreas Larsen via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 May 2017 16:06:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-300213978-1494345964-sysbot+gh@w3.org>
@meyerweb the color hints only shifts the halfway point effectively creating two linear gradients in the process — at least that's what I'm gathering from the description and examples on csswg where e.g. 
```
linear-gradient(rgb(100%, 0%, 0%), 25%, rgb(100%, 100%, 100%))
renders like
linear-gradient(rgb(100%, 0%, 0%) 0%, rgb(100%,50%,50%) 25%, rgb(100%, 100%, 100%) 100%)
```
and as such of fairly limited use when wanting to create smooth gradients. 

-- 
GitHub Notification of comment by larsenwork
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1332#issuecomment-300213978 using your GitHub account
Received on Tuesday, 9 May 2017 16:06:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:53 UTC