PHP Classes

PHP CSS Generator: Compose and generate CSS programmatically

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


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: 16 packages by
Country: Serbia Serbia
Age: 29
All time rank: 16277 in Serbia Serbia
Week rank: 373 Up5 in Serbia Serbia Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file class.CssGenerator.php Class Generator Class
Plain text file class.CssRule.php Class CSS Rule Definition
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file example_two.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,112
This week:404Up