News for hackers. Stuff that matters.
Re:Mvp.css – build your landing page with only semantic HTML by adriangrigore on Saturday November 21, 2020 @03:31AM (#25168504)
I don't think the use of classes is forbidden in any way. This is a just a drop in css file to quickly style an HTML document, if you think it's a good idea to style some more, just add classes.
Re:Mvp.css – build your landing page with only semantic HTML by VPenkov on Saturday November 21, 2020 @04:48AM (#25168737)
It doesn't forbid classes explicitly but website mentions "No class names" twice which doesn't portray them in a very good light.
Re:Mvp.css – build your landing page with only semantic HTML by adriangrigore on Saturday November 21, 2020 @05:28AM (#25168889)
I agree that "No class names" may me interpreted as "you're not allowed to use classes" but the main idea is to have a CSS file that is very loosely coupled with your HTML that you can just drop in your project and style it quickly. You can add classes at any time. "No class names" may be correctly interpreted as "loosely coupled". I don't think it doesn't portray them in a good light.
Re:Mvp.css – build your landing page with only semantic HTML by OJFord on Saturday November 21, 2020 @05:24AM (#25168872)
It means that you don't have to use 'mb-1--success-large' and things like that, but if @chrismorgan's point is that they've just swapped that for meanings encoded in element names rather than class names (in many cases not the usual meaning) then I think I agree.