PHP 5: XCS Parser
Ve Bailovity (contact me)
This class can be used to parse and compress regular and extended Cascading Style Sheet (XCSS) definitions.
It can parse XCSS definitions and process them by evaluating macros and expressions, including external XCSS files, evaluating the rules of inherited styles, and processing comments that start with // .
The class can generate regular CSS definitions from the processed XCSS files. The processed CSS definitions may be compressed by removing white spaces, or formatted to be prettified and human readable.
Click here for detailed information about this class on phpclasses.org
Data
Advanced syntax (dollar) test style
Data
Advanced syntax (percent) test style
Data
Basic test style - defines the values in style.css
Example
A basic test/demo file for XcsParser class
Example
Compression test/demo file for XcsParser class
Example
Inheritance test/demo file for XcsParser class
Example
Forbidden expressions statements test/demo file
Example
Forbidden external files access test/demo file
Example
Static loader test/demo file for XcsParser class.