zmoazeni / csscss

A CSS redundancy analyzer that analyzes redundancy.
http://zmoazeni.github.io/csscss/
MIT License
2.92k stars 151 forks source link

Fix for issue 64 #67

Closed carsonmcdonald closed 11 years ago

carsonmcdonald commented 11 years ago

It looks like issue #64 was caused by the following line in the CSS:

@media (min-width: 768px) and (max-width: 979px) {}

It is actually important that the brackets have no space at all between them to reproduce the issue. Requiring at least one ruleset fixes this and seems like a valid requirement although I imagine there may be other ways of fixing it as well.

zmoazeni commented 11 years ago

Ahh, nice find! Thanks! I'll do a little reading, but since the suite passes, it looks like this may be a winner.

zmoazeni commented 11 years ago

Thanks @carsonmcdonald