Hacker News new | ask | show | jobs
by sonnhy 1004 days ago
> Separating the style into a stylesheet gives you global control over presentation and makes you more aligned with how the user is perceiving things.

Can you elaborate on this? Do you mean that the separation through external stylesheets creates a more cohesive UI for the user?

The HTML has its say on layout part, so the presentation is not exclusively on the CSS. Also, the core part of defining the whole UI is usually delegated to some global CSS rules, usually known as the theme in CSS-in-JS libraries. I don't think having external stylesheet helps that much.