PHP Classes

CSS Tree Class: Parse CSS files into a tree data structure

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: 1,862 All time: 2,121 This week: 673Up
Version License Categories
css_treeclass 1.0.0GNU General Publi...Text processing
Description 

Author

This class can be used to parse Cascading Style Sheets (CSS) and build a tree data structure that can traversed programatically.

The class can parse CSS data from files or text strings. It builds an hierarchy of style nodes.

It can also output styles for tags, HTML style tag definitions or to a given file.

Picture of Martin Weis
Name: Martin Weis <contact>
Classes: 2 packages by
Country: Germany Germany

  Files folder image Files (4)  
File Role Description
Plain text file CSSTree.inc.php Class The CSS Tree class
Accessible without login Plain text file example.css Data an example css file
Accessible without login Plain text file example_CSSTree.php Example an example
Plain text file Tree.inc.php Class The basic Tree class, from project TreeClass, see links

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
Downloadcss_treeclass-2006-01-19.zip 6KB
Downloadcss_treeclass-2006-01-19.tar.gz 5KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Tree Class Download .zip .tar.gz this is the correct tree class which implements the Tree class where this class is derivated from Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,862
This week:0
All time:2,121
This week:673Up