CSS seems easy at first. After all, it’s just styling, right? But, give it time. Soon, CSS will show you the true depths of its complexity. There are four things you can do to stay sane while using CSS at scale: use proper semantics, modularize, adopt a naming convention, and follow the single responsibility principle.
Full article