I have heard lots of developers say they hate CSS. In my experience, this comes as a result of not taking the time to learn CSS.
CSS isn’t the prettiest ‘language,’ but it has successfully powered the styling of the web for over 20 years now. Not doing too badly, huh?
However, as you write more CSS, you quickly see one big downside.
It is darn difficult to maintain CSS.
Poorly written CSS will quickly turn into a nightmare.
Here are a few naming conventions that will save you a bit of stress and countless hours down the line.
... read the whole story at medium.freecodecamp.org.