Answer the question
In order to leave comments, you need to log in
How to clean up CSS/templates by parsing a website?
There is a large website with 280 layouts and 50,000 pages.
In these 280 layouts, there are 3,000 type constructs class="* * *"
,
800 out of 3,000 classes are unique.
There is a general site style and unique template styles for 150-250kb, weighing 1,500 selectors.
What I want is to build a page / style tree (style map), remove unused styles,
unify the practice of using selectors. The most obvious thing is to redo everything, but I would like to
hear some other practices in such cases, from my own or someone else's experience.
I need your ideas, tools and practices (glasses and clothes)!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question