Is there a .NET based CSS abstraction library?

I have been working on a really big project for almost 2 years, and customer requirements are changing. These changes, of course, affect everything, and I would like to find a way to work with CSS more dynamically.

I assume that I can get one of the Ruby or python CSS DSL running ironRuby / Python, but this client describes in great detail which programs / frameworks are installed.

I have not found CSS DSL where the base programming language is vb or C #.

link: http://sandbox.pocoo.org/clevercss/ and http://nubyonrails.com/articles/dynamic-css

+4
source share
3 answers

Less CSS has recently been released for .NET.

http://www.dotlesscss.org/

+4
source

I'm not sure about any publicly available products, but I wrote ASP.NET HttpHandler several times for .css files. This is a fairly simple task, and I usually add things like supporting variables and base expressions, minimizing in real time, removing comments, etc. Is this what you are looking for? If so, I think every time it was taken, maybe 10 hours of max to write, debug, and implement a handler ... not so bad, considering all the advantages.

+1
source

You can also write your own DSL using either the DSL Toolkit, which is part of the Visual Studio SDK, or using Oslo. In the first case, the result can be .css files and everything you need, including the API code for the ASP.NET application to call.

+1
source

All Articles