Ask HN: What are some ways to reduce browser repaints or reflows?

5 points by chrisjlee84 ↗ HN
Having some issues with jank on a website. Trying to figure out some techniques from jankfree.org.

What are some means or techniques in order to reduce repaint, fight jank and / or page reflow?

1 comment

[ 1.7 ms ] story [ 15.9 ms ] thread
Always use CSS transforms to place things that are going to move rather than setting an X/Y absolute position or changing the margins and padding.