4 ms·
This recent vibe of minimal CSS files for plain HTML tags feels the same as the CSS Zen Garden from years ago. Which is very good and quite welcome in the curr
by HugoDaniel 6y ago
This recent vibe of minimal CSS files for plain HTML tags feels the same as the CSS Zen Garden from years ago.
Which is very good and quite welcome in the current state of overbloated JS frameworks that do everything.
I wonder if this will also drive further the adoption of standard web components https://open-wc.org/guide/ https://open-wc.org/guide/
- josefresco 6y agoAh memories. I used to reference the CSS Zen Garden when convincing my clients about our new approach to web building (CSS is awesome!). Never once achieved it (complete separation of content from style) in practice.
- _bxg1 6y agoStylesheets have absolutely nothing to say about JS framework usage and vice-versa.
- mikeg8 6y agoIn theory yes, but React and similar JS frameworks have been chomping away at the “cascading” of CSS for a while, in favor of embedding styles inside each JS component. They have become very much intertwined.
- TheGoodBarn 6y agoI was just thinking the same thing! I started typing a reply out to someone's criticism of this, and it had me think of it this way. I have my own personal stylesheet that I use as a plugin for overriding blog styles (just because I like to read text formatted in a specific way, a lot of blogs aren't very readable IMO). This style of library kinda extends that where the end user can "customize" or make the site look how they want it to (not that it's something people should be considering when building their blogs, but I think its fairly normal for people to have opinions on these things). --- I especially like it for quickly prototyping internal tools/sites at work. A lot of times I want something to look clean but don't have the bandwidth to really customize a lot of stuff. This allows you to write CSS for what you need, but have the overall page styled for you with minimal effort. (Also building your own css templates like this helps teach generic css. I think it's a good skill if anyone is within proximity of the web).
- ubershmekel 6y agoI wrote a bit about this about a year ago: https://blog.usejournal.com/the-next-css-frontier-classless-5e66f3f25fdd https://blog.usejournal.com/the-next-css-frontier-classless-... Definitely got me Zen Garden vibes.