PHP Classes
elePHPant
Icontem

OOCSS: Template engine for CSS style sheet files

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-09-05 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 645 All time: 4,724 This week: 1,088Up
Version License PHP version Categories
oocss 1.0MIT/X Consortium ...4Templates
Description Author

This class implements a template engine for CSS style sheet files.

It reads a CSS style sheet template file that may have definitions of styles assigned to variables. The variables may be used in the definition of other styles.

The class expands the definition of all variables and stores the processed CSS style sheet in a cache file.

OOCSS creates a new way to write CSS files in a new Object style fashion. Using Parent/Child relationships and predefined variables, you will be able to produce rapid CSS that is not only easier to maintain and read, is more intuitive as well.

Innovation Award
PHP Programming Innovation award nominee
August 2009
Number 5


Prize: One book of choice by Manning
CSS is a relatively limited style definition language. When you need to create new styles by changing a little the definition of others, the solution is often nor trivial, nor easy to understand and maintain.

This package provides an alternative solution that consists in a language that allows defining CSS classes and use inheritance to define the new CSS classes changing only a few definitions.

Manuel Lemos
Picture of Corey Hart
Name: Corey Hart is available for providing paid consulting. Contact Corey Hart .
Classes: 2 packages by
Country: United States United States
Age: 28
All time rank: 1672225 in United States United States
Week rank: 1469 Up165 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file oocss.php Class Main Class
Accessible without login Plain text file control.php Appl. Central control class
Accessible without login HTML file index.php Doc. Documentation Page
Accessible without login Plain text file styles.oocss Data Style Sheet

 Version Control Unique User Downloads Download Rankings  
 0%
Total:645
This week:0
All time:4,724
This week:1,088Up