Render Flow - Extracting critical CSS
[Load HTML] -> [Parse HTML structure] -> [Identify above-the-fold elements] -> [Scan Tailwind classes used] -> [Extract only used CSS rules] -> [Generate critical CSS file] -> [Inject critical CSS inline] -> [Load rest of CSS asynchronously]
The browser first loads the HTML and identifies the visible content. Tailwind scans the classes used in this content to extract only the CSS needed immediately (critical CSS). This CSS is inlined for fast rendering, while the full CSS loads later.