How to check for duplicate CSS rules?

后端 未结 3 1816
孤街浪徒
孤街浪徒 2020-12-13 09:03

I messed up my css and somehow i have a lot of the duplicate rules and my 1800 something lines css file is now of 3000+ lines..

Is there any way/tool that would take

3条回答
  •  旧巷少年郎
    2020-12-13 09:36

    I have tried a couple of tools such as CSSLint and CSSBurner. I have also tried the CSS Validator from W3C, which I do not like.

    One thing I like about CSSBurner is that it is color-coded and lets you scroll through all of your errors and repeats really quickly. I found all of my repeats (and other things) super fast.

提交回复
热议问题