At this point I'm just counting on LLMs to remember all the CSS specification cruft for me.
I don't know the best solution for the problem, but CSS is a very convoluted one.
I wouldn't be surprised if the negative developer sentiment toward CSS is reflected in training datasets.