uCSS
Find unused and duplicate CSS
- Free • Open Source
- Self-Hosted
- CSS
What is uCSS?
uCSS is made for crawling (large) websites to find unused CSS selectors.
Features of uCSS include:
• Find unused CSS selectors, given a HTML code base. • Find duplicate CSS selectors (also when no HTML is given). • Count matches for each rule. • Follows links (crawl), within the given domain. • Give information about server responses, redirects, etc. while crawling, allowing you to find e.g. dead links.
By setting up a config file, uCSS can also:
• Do login, and visit pages both as a logged in and logged out user. • Exclude specific pages and/or subfolders. • Visit specific pages instead of, or in addition to, crawling. • White list CSS rules to be ignored (e.g. those toggled by JavaScript). Customizable output. uCSS is written for Node. It can be used both as a library and as a command line tool.
Please note: uCSS is currently in beta. There will be bugs, docs may be outdated, and functionality may change.
uCSS Screenshots
uCSS information
Supported Languages
- English
GitHub repository
- 1,626 Stars
- 74 Forks
- 3 Open Issues
- Updated
Comments and Reviews
Tags
- css-development
- css3
- unused-css
- development
- CSS / Stylesheets