Live data from Hacker News

First, Last, Invert, and Play: a technique for animations using CSS transforms

engineering.siftscience.com

11–15 of 15 posts

Re: First, Last, Invert, and Play: a technique for animations using CSS transforms

#11
This page is completely broken with Ghostery installed and configured to block Sift Science. I think this is partially a Ghostery bug, because it probably shouldn't be blocking Sift Science when I'm on a *.siftscience.com domain, but the page should also probably not break horribly just because I'm blocking trackers.

Re: First, Last, Invert, and Play: a technique for animations using CSS transforms

#14
post #4

Note that this also works with position: absolute, if you want to support old browsers.

what are you suggesting positioning absolutely?

I'm guessing the parent means using top, left, bottom and right offsets instead of transforms to support the likes of IE8.

The point of FLIP, RAIL and using transforms is to reliably achieve 60FPS by avoiding repaints whenever possible and giving the browser as little work to do as possible.

Adjusting width, absolute position offets and so on, can result in frames being dropped even in newer browsers on good hardware.

I personally treat animations as a luxury. If the user's browser doesn't support transforms (IE9 required for 2D, IE10/11 required for 3D) I just keep the content displayed in a clear and normal way.

Re: First, Last, Invert, and Play: a technique for animations using CSS transforms

#15
post #14

Earlier quoted context omitted.

what are you suggesting positioning absolutely?

I'm guessing the parent means using top , left , bottom and right offsets instead of transforms to support the likes of IE8. The point of FLIP, RAIL and using transforms is to reliably achieve 60FPS by avoiding repaints whenever possible and giving the browser as little work to do as possible. Adjusting width, absolute position offets and so on, can result in frames being dropped even in newer browsers on good hardwa…

Not sure I understand - changing absolute position also won't reflow parents/siblings, same as transform.
Post reply on HN