7 ms·
Ask HN: What are some ways to reduce browser repaints or reflows?
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?
- martinjones 13y agoAlways 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.