CSS consulting used to be a lucrative cottage industry. Probably because CSS features are not orthogonal and we have to deal with all kinds of browser compatibility issues, CSS experts were in high demand - especially for debugging tricky performance or layout issues. IIRC, the top experts could charge more than $300 an hour and still had a long list of waiting customers.
With AI, I guess this industry is gone as well.