CleanCSS JS

Released: July 26th, 2006
Author: Michi Kono

CleanCSS is a simple library that allows developers to focus on developing instead of arguing with designers. Requires Prototype. It powers many of the cool effects you see on this site. For example, the AJAX links (up top) use it.

Download (version 0.1)

See the entry about this class.

You can see it in action right here: ! The source for this demo:

CleanCSS.email('email-link');

The (simplified) source for the navigation images at the top middle and top right of this page is:

CleanCSS.byClass('splash-icon', 'onmouseover', function() {
 Effect.Fade(this);
});

Planned Features

  • Remove reliance on Prototype
  • Support for more complicated CSS conditions (such as "#id .class tagname .class #id")
  • Separation of page re-writing logic into another library (such as the email() method)