PHP CSS Generator: Compose and generate CSS programmatically

Recommend this page to a friend!
  Info   Example   View files (4)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 315 All time: 7,171 This week: 211
Version License PHP version Categories
css-generator 1.0.0BSD License5.4HTML, PHP 5
Description Author

This package can compose and generate CSS programmatically.

It provides a fluent interface to define CSS stylesheet rule properties by id, class or element name.

The class can define the selector with multiple path elements by adding child path elements or go back to the parent selector element.

The generated CSS stylesheet is returned as a string.

Picture of Aleksandar Zivanovic
  Performance   Level  
Name: Aleksandar Zivanovic <contact>
Classes: 15 packages by
Country: Serbia Serbia
Age: 26
All time rank: 17217 in Serbia Serbia
Week rank: 79 1 in Serbia Serbia
Innovation award
Innovation award
Nominee: 4x

File Role Description
class.CssGenerator.php Class Generator Class
class.CssRule.php Class CSS Rule Definition
example.php Example Example script
example_two.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,171
This week:211

For more information send a message to info at phpclasses dot org.