~/talk

Parallax Performance

Talkat CSSConf US 2014 · on Tuesday, 2014-05-27· [web-performance, css]
slides:none on file

Diagnoses show paint storms causing 150ms frames and 20–30fps on real sites; replacing background-position/top animations with layer-promoted images and GPU-friendly transform and opacity cuts paint and restores smooth motion up to 60fps. Tools used: Chrome DevTools show paint rectangles and the layers panel to spot repaints. The pure-CSS Kellum Keith technique builds Z layers with 3D transforms to avoid JavaScript scroll handlers; when JS is necessary, use requestAnimationFrame, minimize handlers, and limit layers to ~30–40.

AI-written summary · about

  1. 0:00Introduction to parallax
  2. 1:32Terminology and types
  3. 4:11Understanding jank
  4. 6:46The browser rendering pipeline
  5. 8:39Optimizing CSS for performance
  6. 12:08Layer management and hacks
  7. 14:14Optimizing scroll input
  8. 18:52Pure CSS parallax techniques
  9. 22:10Performance auditing and fixes
  10. 29:55Summary and best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.