Shaun Inman, the guy behind the excellent
Mint analytics package, as well as the namesake of
sIFR (scalable Inman Flash replacement (although he has nothing to do with the project other than that

) has created a css pre-processor called
CSS Cacheer. It allows some pretty cool functionality... and I can see it being pretty useful in the future. It can be extended with plugins as well, which is pretty neat.
It does server-side imports
Code: Select all
@server import url(examples/variables-et-all.css);
nestable selectors
Code: Select all
#content ul.nav {
margin: 0;
padding: 10px;
color: #c00;
li {
list-style-type: none;
padding: 0;
a {
color: orange;
}
}
}
Inheritance
Code: Select all
@base(nav) {
color: red;
background-color: black;
}
.yellownav {
based-on: base(nav);
color: yellow;
}
As well as some other pretty cool things. It allows you to simply include your stylesheet as you would before, and uses .htaccess to include the php preprocessor which runs once and caches the css file for subsequent requests.