PHP Classes

Inherited CSS: Build CSS styles that inherit from parent styles

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 432 All time: 6,310 This week: 455Up
Version License PHP version Categories
icss 1.0BSD License5.0PHP 5, Text processing
Description 

Author

This class can build CSS stylesheets with styles that inherit their definitions from parent styles.

It can parse custom type of CSS stylesheets with a special property named -inherit that indicates that the definition of a style is based on another given parent style.

The class resolves the inherited styles definitions including the parent styles properties.

The resulting CSS stylesheet can be returned as a string or saved to a file.

Picture of mehmet emin akyüz
  Performance   Level  

 

  Files folder image Files (7)  
File Role Description
Files folder imagesample1 (2 files)
Files folder imagesample2 (4 files)
Plain text file icss.php Class ICSS class definition

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:432
This week:0
All time:6,310
This week:455Up