In the past I’ve organized CSS in every which way; alphabetically, just adding stuff to a file incoherently, or by type of property, and in the end I don’t think I have strong opinions about this. But Eric Bailey sure does:
As someone who is really, really into CSS, I wish I could enthusiastically recommend an approach other than alphabetical. However, I’m unfortunately here to tell you not to.
The most common CSS declaration organization technique I come across is none whatsoever.
The more I think about Eric’s argument in this post, the more convincing it is, especially this bit:
I think this is an important thing a lot of people get wrong. You want to set up something sustainable, but also not pour your own energy into making the right thing in the wrong way just to satisfy your own personal desires.