SpinTheMic
Pro

Explain it in 60 seconds

Reflow and repaint

Frontend Engineering · HTML and CSS · Intermediate

What are reflow and repaint, and why do they matter for performance?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Reflow (layout): recalculating positions/sizes.
  • Repaint: redrawing pixels without layout change.
  • Layout changes are expensive, can cascade.
  • transform/opacity avoid layout.
  • Batch DOM reads/writes.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics