Login   Register  
PHP Classes
elePHPant
Icontem

Inherited CSS: Build CSS styles that inherit from parent styles

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 426 All time: 5,682 This week: 1,974Up
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
Name: mehmet emin akyüz <contact>
Classes: 3 packages by
Country: Turkey Turkey
Age: ???
All time rank: 240139 in Turkey Turkey
Week rank: 1790 Up30 in Turkey Turkey Up

  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:426All time:5,682
 This week:0This week:1,974Up