shpasspass
V2EX  ›  问与答

有没有可以检验无效div和css的工具?

  •  
  •   shpasspass · Sep 1, 2012 · 6292 views
    This topic created in 5030 days ago, the information mentioned may be changed or developed.
    因为是修改别人的网页模板,里面内容很多,我删了一些其中的div标签,但是相应的css没有及时删除,造成现在css文件里一定有些根本用不到的class和id,如果靠人工找的话,要耗时间, 有没有自动判断css里的class或id是否为无效的工具?反之,从css里判断某些div是无意义的存在?
    3 replies    1970-01-01 08:00:00 +08:00
    sivacohan
        1
    sivacohan  
    PRO
       Sep 1, 2012
    chrome貌似可以吧。。。
    没太做过这个东西,按f12右边有个css什么的。
    yangg
        2
    yangg  
       Sep 1, 2012
    css usage for firefox

    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   917 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 20:16 · PVG 04:16 · LAX 13:16 · JFK 16:16
    ♥ Do have faith in what you're doing.