CSS Slap Chop needs two inputs. The CSS stylesheet it needs to clean, and the page it needs to check the CSS against.
The library works by comparing all CSS selectors found in a stylesheet with their HTML tags found on the provided Web page.
The unused CSS selectors that don't apply for the current page are then removed from the CSS file.
Supports a filtering system via a separate JSON file. This allows some of the unused CSS selectors to be left intact.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |