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 In2 Comments
robert_bennett292d ago
Yeah, I learned that one the hard way too (with a much smaller grid).
2
phoenixp302d ago
At least my mistakes look pretty in the dark.
5