Re: [csswg-drafts] [css-images] Add easing functions to color stops (#1332)

One particular example I would see as relevant is the fact that the midpoint-based interpolation is *not* symmetric around the center point. That is, a gradient like `linear-gradient(blue, 10%, white, 90%, blue)` does *not* have the first and second halves look like mirror images of each other. Using cubic-bezier(), on the other hand, would let you produce symmetrical results fairly easily.

(The best way to make a symmetrical gradient with midpoints is to make *two* gradients, each half-size, and pointing in opposite directions. That's annoying, obviously.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1332#issuecomment-483469966 using your GitHub account

Received on Tuesday, 16 April 2019 00:51:00 UTC