https://github.com/e-oj/casper
Casper - See README
https://github.com/e-oj/casper
Last synced: 9 months ago
JSON representation
Casper - See README
- Host: GitHub
- URL: https://github.com/e-oj/casper
- Owner: e-oj
- Created: 2016-06-02T13:37:32.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T21:09:54.000Z (almost 10 years ago)
- Last Synced: 2025-03-23T08:13:21.603Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 74.2 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Casper (in progress...)
A program that checks css files for duplicate declarations of styles on the same element, Id or class.
Can be used when adding external css libraries to a web project.
Examples of duplicates:
.sky{color: blue;}
.sky{color: orange;}
.sky{position: fixed;}
It will also mark weak duplicates (controlled by an option) such as
.sky{color: blue;}
.venus .sky{color: red;}
.mars > .sky {color: purple;}
#jupiter .sky{position: absolute}
It ignores @ rules for now (until a reason for going through the stress of including them is found)
@media, @font-face, etc
It also ignores the value of the filter attribute like so
.flint-michigan-water{filter: No support for filter prop;}