Comment on Uncss – Find unused CSSparentComments−alex_doom12yonly after some interaction with javascript on the pageThat's why I will use a prefix js-[something] for elements that will interact with javascript and then user other classes for style so nothing gets removed by accident by others.−eli12ySmart. I end up grepping the whole codebase by hand for each class I want to remove, but even that isn't perfect.
Comments
That's why I will use a prefix js-[something] for elements that will interact with javascript and then user other classes for style so nothing gets removed by accident by others.
Smart. I end up grepping the whole codebase by hand for each class I want to remove, but even that isn't perfect.