How to check for duplicate CSS rules?

后端 未结 3 1814
孤街浪徒
孤街浪徒 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:40

    Have you tried CSS Lint? Click the arrow by the Lint! button and it'll open up some options you can play with. Make sure "Disallow duplicate properties" is checked

提交回复
热议问题