Yelp Jan 1, 2015

Animating the Mobile Web

Article Summary

Zain M., Engineering Intern at Yelp, turned a choppy mobile web animation into a buttery-smooth 60fps experience. The secret? Ditching the obvious CSS properties and rethinking how browsers handle rendering.

Yelp's engineering team wanted to replicate their native app's photo pull-down animation on mobile web. The challenge: achieving 60fps performance (16ms frame budget) while animating multiple CSS properties based on touch gestures.

Key Takeaways

Critical Insight

By replacing expensive CSS properties with GPU-accelerated transforms and syncing animations to browser refresh cycles, Yelp achieved native-like mobile web animations within their 16ms frame budget.

The article includes specific Chrome DevTools profiling screenshots showing exactly where the performance bottlenecks were hiding.

Recent from Yelp

Related Articles