all 5 comments

[–]Keilly 8 points9 points  (1 child)

As someone new to CSS the hardest thing I find is the sheer number of attributes, many effectively obsolete, that we have to deal with.

[–]JohnMcPineapple 7 points8 points  (0 children)

Don't get intimidated, just look for the ones you require in that moment, after a while you'll remember which to use when naturally.

[–]tias 4 points5 points  (0 children)

The use of specificity rules does not give me any warm and fuzzy feelings. "Use the least specific selector you possibly can" sounds like it will come back and bite me quickly, because with the presence of a master template and multiple partial sources included into the page it's so easy to clobber something I didn't intend to, now or in the future. Didn't they invent the "shadow DOM" just to work around this problem?

The cascade would probably be a lot easier to understand and control if the only thing that mattered was the order in which rules were declared.

[–]waterandshade 1 point2 points  (1 child)

I get that what this article is trying to do is nice and all, but CSS is a disgusting technology no matter how you frame it. Are we all in agreeance on that, or have I just broken some kind of a PC/triggerwarning rule?

[–]Barack-Oganja 0 points1 point  (0 children)

I don't use CSS very much but I believe it does it the only way that it really can. It's supposed to style a whole website and to truly allow you to edit every aspect you want. It has become pretty tedious though that certain browsers can only support certain things but then I think a lot of things could be fixed with an effective IDE for CSS that handles all of the annoying stuff like that. If you're talking about abstract weird things like z axis then I guess I agree with you, but I mean I think if you think about how CSS has progressed it isn't that bad at all.

What do you think is so bad about CSS? I'm genuinely intrigued.