문제

I am looking to see if there is an open source/free project that provides a CSS manager. I am looking for this mainly for performance tweaking and hoping there is a readymade project rather than building from scratch. Features I am looking for include:

  1. Combines multiple .css files into a single css file
  2. Optionally minifies the resulting .css file
  3. Works well with .Net (a user control, custom handler, etc)

Is there a project out that that handles this?

도움이 되었습니까?

해결책

SquishIt does a great job combining / minifying and may be of interest

다른 팁

You can try YUICompressor for .Net for the minifying.

We use this on my current project and it works well - it also supports minifying Javascript.

For the aggregating (inlining multiple files into a single file), we ended up rolling our own, as we couldn't find something in .Net that did exactly what we wanted.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top