T
16

Sort of regret ignoring that advice about CSS transforms for 2 years

A dev I used to work with kept telling me to use translate3d instead of top/left for moving elements around. I blew him off cause I thought it was just some optimization for mobile. Then I tried animating a 50 element grid with smooth scrolling and my laptop nearly melted. Switched to translate3d and it was buttery smooth after that. Has anyone else stubbornly ignored performance tips until the lag got too real?
2 comments

Log in to join the discussion

Log In
2 Comments
robert_bennett29
Yeah, I learned that one the hard way too (with a much smaller grid).
2
phoenixp30
At least my mistakes look pretty in the dark.
5