Styling semantic tags in a library is a really bad idea, it assumes your css is going to be the only css used in an app. It's good manners to style class names instead.
New.css – A classless CSS framework to write modern websites using only HTML
101–110 of 192 posts
Re: New.css – A classless CSS framework to write modern websites using only HTML
#102Earlier quoted context omitted.
Hey, developer of both here. It's certainly not a light download, I understand. It's more of an effort to pull CDN requests to known unethical networks, namely Google Fonts, which are known to be used to track users between websites. I'll be more clear about this in the future, thanks for your opinions!
I still don't see how switching from Google to a VC-backed CDN startup is better for ethical purposes.
Re: New.css – A classless CSS framework to write modern websites using only HTML
#103Re: New.css – A classless CSS framework to write modern websites using only HTML
#104So classless does not mean lightweight, perhaps?
Re: New.css – A classless CSS framework to write modern websites using only HTML
#105Styling semantic tags in a library is a really bad idea, it assumes your css is going to be the only css used in an app. It's good manners to style class names instead.
You should use thing for what they're made for. Even using classes you can't solve the problem you're describing.
You ever worked on a project where a non-technical PM got to pick technologies? I guarantee you someone is going to choose this CSS library in the future because they think it looks nice, then be confused or frustrated when it stomps over some other styling they want to use because it directly styles tag names
Re: New.css – A classless CSS framework to write modern websites using only HTML
#106Re: New.css – A classless CSS framework to write modern websites using only HTML
#107This 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
#108This 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/
Re: New.css – A classless CSS framework to write modern websites using only HTML
#109Is this just a reset css with default styles?
Re: New.css – A classless CSS framework to write modern websites using only HTML
#110Crazy. This isn't a "framework". It's a stylesheet.
That's my reaction as well... What am I missing? People really forgot that you can write a "reactive" website in pure HTML and that's what it was actually designed for?