PHP Classes
elePHPant
Icontem

Inherited CSS: Build CSS styles that inherit from parent styles

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-05-10 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 431 All time: 5,987 This week: 987Up
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  
Name: mehmet emin akyüz <contact>
Classes: 3 packages by
Country: Turkey Turkey

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

  Files folder image Files  /  sample1  
File Role Description
  Accessible without login Plain text file sample.i.css Data Sample css file which uses "-inherit"
  Accessible without login Plain text file sample.php Example Sample php file to convert sample.i.css to standard css

  Files folder image Files  /  sample2  
File Role Description
  Accessible without login Plain text file .htaccess Data automatically handle "*.css" requests by invoking icss-translate.php
  Accessible without login Plain text file icss-translate.php Example automatically handles requests to *.css files by translating *.i.css files.
  Accessible without login Plain text file sample.html Data a sample html file
  Accessible without login Plain text file sample.i.css Data sample i.css file using -inherit feature

 Version Control Unique User Downloads Download Rankings  
 0%
Total:431
This week:0
All time:5,987
This week:987Up