开发者

Manipulating CSS file programmatically

Is there any library available around to manipulate CSS files like the Hpricot for HTML/X开发者_开发技巧ML etc.

I have a lot of CSS files for different theme, and sometime for a minor change I need to open each CSS file and make that change.

I want to do it programmatically, preferably in Ruby.

Thanks, Imran


Have you taken a look at less or Sass? They probably aren't quite what you're looking for--but they are both languages that compile to CSS and use cleaner syntax and other benefits like variables.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜