问题描述
我知道有一个名为Dust-Me Selectors for Firefox的扩展名,它不会查看JavaScript生成的动态HTML。
I know there is an extension called Dust-Me Selectors for Firefox and also that it doesn't look at dynamic HTML generated by JavaScript.
对于可以从附加到几个页面的样式表中识别所有未使用的选择器的工具,使用所有JavaScript运行和检查选择器?
我现在知道的唯一选项是手动检查文件和查找未使用的选择器:(
I'm looking for tool(s) that can identify all unused selectors from a stylesheet, attached to several pages, with all the JavaScript running and checking selectors?The only option I know right now for this is manually checking files and finding unused selectors :(
在IDE的 - 我相信NetBeans提供一个警告消息,没有IDE(NetBeans,Eclipse,Dreamweaver等)插件来搜索选择器我的选项是什么?
In IDE's - I believe NetBeans provides a warning message when writing Java code, if a library is not under use. Without an IDE (NetBeans, Eclipse, Dreamweaver, etc) plugin to search for the selectors what are my options?
,是否有一个工具来检查同一个文件中未使用的选择器,我的意思是如果所有的JS,HTML和CSS代码在同一个文件中。
Also, is there a tool to check for unused selectors in the same file. I mean if all the JS, HTML and CSS code is in the same file.
推荐答案
我认为会完全按照您的要求。
I think that http://unused-css.com will do exactly what you want.
可以帮助
以及:
这篇关于用于检查未使用的CSS选择器的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!