Live data from Hacker News

MVP.css – Minimalist stylesheet for HTML elements

andybrewer.github.io

31–40 of 122 posts

Re: MVP.css – Minimalist stylesheet for HTML elements

#32
post #16

This reminds me of a css switcher project I found on GitHub [1] while I was messing around with classless style sheets. Makes it just so easy to switch and select. Embed in your html page, select an item from the drop down and see what it does to the page, when you’re happy, remove ! Simple. Genius. Wonder why I never thought of it. Also has a demo page [2] to try it out [1]: https://github.com/dohliam/dropin-minimal…

Thank you. love this

Re: MVP.css – Minimalist stylesheet for HTML elements

#33
I like the idea. Good job.

But that table. I'm not even sure what to say. How come custom CSS doesn't support semantic HTML? Or makes you use class names? Or is hard to customize? Sure, the last one might be controversial but I'm pretty sure most would agree that the other ones just make no sense.

Re: MVP.css – Minimalist stylesheet for HTML elements

#34
Previous discussions:

https://news.ycombinator.com/item?id=25167928 (21 November 2020, 82 comments)

https://news.ycombinator.com/item?id=22681270 (25 March 2020, 91 comments)

—⁂—

> No class names, no frameworks, just semantic HTML and you're done.

The trouble with this claim is that MVP.css abuses semantic HTML badly, using completely inappropriate elements all over the place (e.g. aside for cards, and b/strong/i/em inside links to make them look like buttons of various kinds), and the author has declined to change these things despite acknowledging that they’re wrong.

Re: MVP.css – Minimalist stylesheet for HTML elements

#35
post #27

Short question: Does anyone know about any performance issues using semantic vs class-based css? I ask, because in the early days of css we also tried to use semantic style and had strange rendering issues on huge data tables and everytime, when the page had a lot of content. After trying a few things we came to the conclusion, that (especially but not only) IE had huge performance issues with semantic style. After s…

Classes can be semantic too. Are you talking about element selectors?

Yes, I meant element selectors... as you see it happened some time ago when I was more into HTML and CSS :-) Now I'm more into backend.

Re: MVP.css – Minimalist stylesheet for HTML elements

#36

Previous discussions: • https://news.ycombinator.com/item?id=25167928 (21 November 2020, 82 comments) • https://news.ycombinator.com/item?id=22681270 (25 March 2020, 91 comments) —⁂— > No class names, no frameworks, just semantic HTML and you're done. The trouble with this claim is that MVP.css abuses semantic HTML badly, using completely inappropriate elements all over the place (e.g. aside for cards, and b/strong/i…

> the author has declined to change these things despite acknowledging that they’re wrong

I mean, if they already have projects running with this, it makes sense. If I learned one thing in my professional life is that while being a perfectionist already is not the best way to approach the vast majority of the problems, it's especially true when it comes to HTML.

Also, I hate to be that guy, but seriously, this thing seems like one of the easiest open source projects to get into, so why not fork?

Re: MVP.css – Minimalist stylesheet for HTML elements

#37

Previous discussions: • https://news.ycombinator.com/item?id=25167928 (21 November 2020, 82 comments) • https://news.ycombinator.com/item?id=22681270 (25 March 2020, 91 comments) —⁂— > No class names, no frameworks, just semantic HTML and you're done. The trouble with this claim is that MVP.css abuses semantic HTML badly, using completely inappropriate elements all over the place (e.g. aside for cards, and b/strong/i…

In their defence they openly state its not for the final product but rather to get _something_ shipped.

Re: MVP.css – Minimalist stylesheet for HTML elements

#38

Short question: Does anyone know about any performance issues using semantic vs class-based css? I ask, because in the early days of css we also tried to use semantic style and had strange rendering issues on huge data tables and everytime, when the page had a lot of content. After trying a few things we came to the conclusion, that (especially but not only) IE had huge performance issues with semantic style. After s…

You’re referring to “tag selectors” vs “class selectors” Engines are now good enough you don’t really have to worry about selector performance unless you’re using ridiculously complex selectors, and even then the least efficient part is actually the layout calculation and painting. This site is super simple and is super laggy on Safari Mac because they use awkward effects and animated gradient backgrounds, for exampl…

Thank you... sounds plausible. Is there a reference or performance test for this you can refer to?

Re: MVP.css – Minimalist stylesheet for HTML elements

#39

Short question: Does anyone know about any performance issues using semantic vs class-based css? I ask, because in the early days of css we also tried to use semantic style and had strange rendering issues on huge data tables and everytime, when the page had a lot of content. After trying a few things we came to the conclusion, that (especially but not only) IE had huge performance issues with semantic style. After s…

I came across this blog post which talks against styling HTML tags and using classes for performance reasons and scalability. I'm not sure if the impact is noticeable on web browsers, I'd love to see an objective comparison. https://frontstuff.io/you-need-to-stop-targeting-tags-in-css...

Interesting, thank you.
Post reply on HN