Render Flow - Why logic in stylesheets is needed
Write SASS code with variables and conditions
SASS compiler processes logic
Generates plain CSS
Browser reads CSS
Applies styles to HTML elements
Renders styled page
The SASS compiler reads the stylesheet with logic like variables and conditions, then outputs plain CSS. The browser then applies this CSS to the HTML to show the styled page.