Instead of shaming developers, we as browser vendors should think about how we can make the simple, obvious thing also the fast thing.
I think if you were to ask average Web developers (not perf geeks) how to write such a thing, they’d reach for width before clip path.
-
-
It’s certainly what I’d do: inner div with fixed width, then animate an outer div’s width/height with overflow:hidden set.
-
The use of the fixed inner div is kinda perf-geeky
- 2 more replies
New conversation -
-
-
Agreed, but once you start saying you need fixed sizing & absolute positioning, you're back in the realm of perf geeks
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.