PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,860 All time: 2,120 This week: 208Up
Version License Categories
css_treeclass 1.0.0GNU General Publi...Text processing


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
Age: ???
All time rank: 66844 in Germany Germany
Week rank: 503 Up20 in Germany Germany Up

  Files folder image Files  
File Role Description
Plain text file 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 Class The basic Tree class, from project TreeClass, see links 6KB
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  
This week:0
All time:2,120
This week:208Up