Render Flow - Avoiding deep nesting
Write CSS selectors
Match elements in DOM
Apply styles
Calculate layout
Paint elements
Composite layers
The browser reads CSS selectors, finds matching elements in the HTML, applies styles, calculates layout, paints the elements, and finally composites layers to display the page.