是否有任何公用设施,这将帮助我重构CSS [英] Are there any utilites that will help me refactor CSS

查看:119
本文介绍了是否有任何公用设施,这将帮助我重构CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我与一些CSS是写得不好,至少可以说工作。我不是一个设计/ CSS专家,但我至少明白的 C 在CSS。而内置的CSS支持VS-2008的内部远改善了previous版本,它仍然没有完全做什么,我所期待的。

I am working with some CSS that is poorly written to say the least. I am not a design/CSS expert, but I at least understand the C in CSS. While the built in CSS support inside of VS-2008 is far improved over previous versions, it still doesn't quite do what I am looking for.

我想知道是否有人知道一个良好的程序或工具,这将有助于我的重构和清理我的CSS很多的方式,ReSharper的帮助你用C#的。

I was wondering if anyone knew of a good program or utility that will help me to refactor and clean up my CSS much the way that ReSharper helps you with C#.

某些功能,这将是很好的:

Some features that would be nice:


  • 检查CSS文件,并确定如何提取常见的样式,如字体,样式,颜色,等...

  • 可能插件VS-2008将是真棒!

  • 检查标记文件,并就改善目前使用类和风格提出了一些建议。

推荐答案

借助除尘我选择器的Firefox扩展可以扫描一个网站,告诉你什么CSS使用的,哪些不是。删除未使用的CSS是重构一个很好的第一步。

The Dust-Me Selectors Firefox extension can scan a website and tell you what CSS is used and what is not. Removing unused CSS is one good first step in refactoring.

我经常发现,当某些部分从网站删除时,HTML被除去,但CSS是不

I have often found that when some section is removed from a website, the HTML is removed but the CSS is not.

这篇关于是否有任何公用设施,这将帮助我重构CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆