I am currently working on a large scale project with mutiple frontend and backend devs. It is basically a large e-commerce solution with different brands in mind that have the same core structure but different styles and layouts.
My question is this:
Is there a css style guide for large existing projects? Or how could we refactor code optimally without loosing logic and breaking stuff?
The styles are chaotic and in need for desperate re-factoring. We got part of the project from our client and we were kinda forced to style and work on those existing layouts and styles.
In some parts we have 10 generations of selectors and often we need to supply !important rules just to get the job done.
I`m sorry I cannot give you code or a sample because of legal obligations.