Some months ago, when the Zend_CodeGenerator_* component got into the stable release of Zend Framework, I spent some time creating a code base for CSS generation by extending the abstract classes delivered with that component. I wanted to implement all features of the CSS 2.1 specification – and it seems to work pretty fine!
Generate CSS via PHP using Zend_CodeGenerator
4