I’ve just finished reading an excellent article by Harry Roberts at CSS Wizardry.
The article focuses on bad coding habits that cause major issues in scaleability, lifespan and reusability of code and should be avoided if at all possible.
Harry gives examples of problem code along with improvements that could be made to eradicate it.
I thought I’d share as I see these issues cropping up on many designs and I’ve been guilty myself, this article helped me clear up a few misconceptions.
Code Smells in CSS