CssHandler (CSS/Variables) | SquaredRoot

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.

kick it on DotNetKicks.com

Download: http://www.codeplex.com/CssHandler/

Link to Original Post: http://www.squaredroot.com/post/2007/11/CssHandler-First-Release.aspx

$DNK$

  • Permanent link to this post Permalink 
  • Share this post! Share It! 
  • View this post's comments Comments (1) 
  • RSS Feed for this post's comments Comment RSS
  •    


Comments

Posted on 12.3.2007 00:05 AM #

Troy Goode

Troy Goode us
Glad you liked it. I dig the new blog!

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Posted on 07.4.2008 15:53 PM #


search


AddThis Feed Button

blog categories

blog tags

my pictures

Flickr Gallery Coming Soon!

recent comments   RSS Feed for this post's comments