Crazy. This isn't a "framework". It's a stylesheet.
"Classless" also made my brow furrow when I realized they didn't mean, say, CSS components styled without a bunch of classes (a la Twitter Bootstrap) but rather, it just has no components. It's classless because it only styles some basic html elements.
New.css – A classless CSS framework to write modern websites using only HTML
141–150 of 192 posts
Re: New.css – A classless CSS framework to write modern websites using only HTML
#142Hey sorry I’m not in the know, but what’s wrong with classes and styling?
Nothing's wrong, the supposed advantage of this is that it's less complex and the only thing you need to learn is html.
Re: New.css – A classless CSS framework to write modern websites using only HTML
#143Seems one of these things hits the front page every month or so. My question is, why don't the browser makers adopt something like this as the default stylesheet? Are they constrained by the spec here or is it just a matter of inertia?
Re: New.css – A classless CSS framework to write modern websites using only HTML
#144I am confused, why is it called a framework? From what I read it's just a default theme for HTML. Did I miss anything?
Re: New.css – A classless CSS framework to write modern websites using only HTML
#145This Github repository tracks a whole bunch of these drop-in CSS files: https://github.com/dohliam/dropin-minimal-css And you can use this demo site to switch between them all on the fly: https://dohliam.github.io/dropin-minimal-css/
It's a shame how few of these prevent horizontal scroll on mobile. Usually the table and/or video are not probably handled. My take away from this: Simple does not mean easy; check edge cases.
Re: New.css – A classless CSS framework to write modern websites using only HTML
#146Seems one of these things hits the front page every month or so. My question is, why don't the browser makers adopt something like this as the default stylesheet? Are they constrained by the spec here or is it just a matter of inertia?
Yep! MVP.css was featured in March: https://news.ycombinator.com/item?id=22681270
Re: New.css – A classless CSS framework to write modern websites using only HTML
#147Earlier quoted context omitted.
Slightly off-topic but this made me wonder: is it possible to store the 1000 most used web fonts locally and tell your browser to use the local version instead of the Google version?
Decentraleyes[0] does this for JavaScript files. There was a request to add fonts[1], but it hasn't been implemented. [0]: https://decentraleyes.org/ [1]: https://github.com/Synzvato/decentraleyes/issues/34
Re: New.css – A classless CSS framework to write modern websites using only HTML
#148Earlier quoted context omitted.
hah, reminds me of http://www.csszengarden.com but simpler.
I would like these themes to go beyond a simple article view. We have tags like , , , , and now. Should be possible to build a complete app-shell with classless CSS.
Re: New.css – A classless CSS framework to write modern websites using only HTML
#149Checkout https://github.com/kognise/water.css I find water.css to be the prettiest of the classless bunch.
Re: New.css – A classless CSS framework to write modern websites using only HTML
#150This 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/
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).