Hi I have problem when animating with CSS calc(). It's just jump to new position, without delay and animation. Is there any special way to do css math when tweening? How to make tween relative to viewport or container?
See the Pen KWbQxN?editors=0011 by sakalaweb (@sakalaweb) on CodePen
@catchnewyork, thanks for sharing the info. Yeah, we don't officially support calc() because that's rather tricky and not exactly reliable. The browser always reports computed values without calc() (for transforms, it's a pixel-based matrix() or matrix3d(), for example). With enough extra code and conditional logic added to CSSPlugin, we probably could wedge something like that in there, but I'm not sure it'd be worth the extra kb and slowdown. If we get enough requests, though, we'll certainly