4 ms·
It's a stylesheet, it was supposed to replace adding styles directly to HTML and using stuff like <font> tags and <center> tags (yes, those were a thing). That'
by dsego 5y ago
It's a stylesheet, it was supposed to replace adding styles directly to HTML and using stuff like <font> tags and <center> tags (yes, those were a thing). That's where the cascade is useful, you can put a coat of paint on your existing HTML page without modifying the HTML itself (like https://www.w3.org/StyleSheets/Core/Overview https://www.w3.org/StyleSheets/Core/Overview or http://www.csszengarden.com http://www.csszengarden.com). I don't think people were thinking about components in HTML back then, there was server-side templating with PHP and stuff, but nothing on the frontend.
- randomsearch 5y agoAny suggestions for where to read the history of CSS?
- dsego 5y agoNo particular resource, sorry. You should be able to dig up articles online however.
- dsego 5y agoActually, I do have some links that I'd pocketed (and forgotten about): Old CSS, new CSS / fuzzy notepad (this one was featured on HN several times) https://eev.ee/blog/2020/02/01/old-css-new-css/?utm_source=pocket_mylist https://eev.ee/blog/2020/02/01/old-css-new-css/?utm_source=p... Ask an expert: Why is CSS . . . the way it is? https://increment.com/frontend/ask-an-expert-why-is-css-the-way-it-is/ https://increment.com/frontend/ask-an-expert-why-is-css-the-... CSS Thesis by Håkon Wium Lie https://www.wiumlie.no/2006/phd/css.pdf https://www.wiumlie.no/2006/phd/css.pdf