Home > purgecss > PurgeCSS > walkThroughCSS
PurgeCSS.walkThroughCSS() method
Walk through the CSS AST and remove unused CSS
Signature:
walkThroughCSS(root: PostCSSRoot, selectors: ExtractorResultSets): void;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| root | root node of the postcss AST | |
| selectors | selectors used in content files | 
void
