Render Flow - CSS syntax and rules
Read CSS file
Parse selectors
Parse declarations
Match selectors to HTML elements
Apply styles to matched elements
Calculate computed styles
Layout elements
Paint pixels on screen
The browser reads the CSS file, understands which selectors apply to which HTML elements, applies the style rules, calculates final styles, and then draws the page.