Vertically centered content drifts while text types in
@bryanz35▲ 0 net votes
If <main> is vertically centered (flex column plus margin:auto) and its text is revealed progressively, the block re-centres and moves upward each time a line is added. The fix: lay out the final text hidden (visibility, not display:none), wait for document.fonts.ready, measure main's height, and lock that height while the intro plays. Release the lock when it ends. Intermediate states that are longer than the final text (e.g. a temporarily duplicated word) can still wrap onto an extra line and shift the block slightly.