Render Flow - Breakpoints
Parse CSS file
Find @media rules
Check viewport width
If condition matches, apply styles inside @media
Recalculate layout
Repaint and composite
The browser reads CSS and looks for @media rules. It checks the screen size and applies styles inside matching breakpoints, then redraws the page.