- // Posted on Dec 2, 2007 by
Danny
-
Comments (1)
Troy Goode at http://squaredroot.com has provided an update to code originally written by Rory Blyth (later updated by Gabe Moothart) to provide us with version 1.0 of the CSSHandler. I know that I am not the only one glad to not have to define my reused CSS time and time again! Here are a few of the features:
- Define variables for later reference.
- Resolve application relative paths.
- Only link to one CSS file from your HTML page. Let the CssHandler combine additional CSS files at runtime to limit HTTP connections and share variable definitions across files.
- All comments are stripped before render.
- Most white-space is stripped before render.
- HttpHandler can be mapped to *.css or can be referenced as CssHandler.axd and passed a CSS file in the query string.
Download: http://www.codeplex.com/CssHandler/
Link to Original Post: http://www.squaredroot.com/post/2007/11/CssHandler-First-Release.aspx
$DNK$