Hacker News new | ask | show | jobs
by ficklepickle 2029 days ago
My brother. Oh god I thought I was alone. I just kinda got CSS and all these easier, softer methods just get in my way.

I love me some sass scoped to the component. You don't need classes and the structure matches the markup, making it trivial to see what styles apply.

1 comments

> the structure matches the markup

So you’re just writing your HTML twice, essentially. You can’t change your HTML without changing your CSS, so at that point, what’s the point in writing the CSS? May as well just add the styles right on the HTML.

They’re both fundamentally just part of how it looks, and I don’t see a lot of benefit in trying to keep that separate.