That's telling about CSS design. Folks here on HN are talking about how they purposely ask LLMs about APIs that don't exist, and they hallucinate with a better and more intuitive design that they would come up with on their own.
I don't know the best solution for the problem, but CSS is a very convoluted one.
My guess is it’s because CSS is so dependent on context. Especially layout styles only make sense for a specific structure of HTML elements, which might be stored in an entirely different file and directory.
TheFuzzball|6 months ago
I wouldn't be surprised if the negative developer sentiment toward CSS is reflected in training datasets.
ileonichwiesz|6 months ago