Permalink to Table of ContentsTable of Contents
- Quick Take
- Keep classes inside backend template markers
- Keep HTML comments containing a given string
- Match decoded HTML class values
- CSS escapes identify the same class names as their decoded HTML values.
- Keep CSS comments
- Keep HTML comments
- Keep id's referenced by
forattributes - Minifies and uglifies
- Preserve CSS comment boundaries
- Unchanged short names keep the escaping required by their output context.
- Report progress within a custom range
- Remove media queries left empty
- Returns all extracted and deleted classes and id's
- Works even if
<style>is within<body>and there's no<head> - Uglify class and ID selectors with the convenience API
- Whitelist a selector from removal
- Whitelist using wildcards