The process by which UnCSS removes the unused rules is as follows: The HTML files are loaded by jsdom and JavaScript is executed. All the stylesheets are parsed by PostCSS. document.querySelector filters out selectors that are not found in the HTML files. The remaining rules are converted back to CSS. Please note: UnCSS cannot be run on non-HTML pages, such as templates or PHP files. If you need t

