CSS to LESS: Convert CSS stylesheets to LESS format

Recommend this page to a friend!
  Info   View files (4)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 366 All time: 6,724 This week: 327
Version Licenses PHP version Categories
css-to-less 1Free For Educatio...5.0HTML, PHP 5, Parsers
Description Author

This class can convert CSS stylesheets to LESS format.

It can parse a CSS stylesheet string and convert it into programmable CSS code in the LESS format based on certain criteria.

The class take for instance constant values for color, width and height properties that appear repeatedly and turn them into variable values.

Picture of Oleg KronuS
Name: Oleg KronuS <contact>
Classes: 3 packages by
Country: Ukraine Ukraine
Age: ???
All time rank: 157227 in Ukraine Ukraine
Week rank: 713 12 in Ukraine Ukraine
Innovation award
Innovation award
Nominee: 1x

  Files  
File Role Description
class.css_to_less.php Class class file
index.php Example example file
css.css Data example css-code
less.less Data generated less-code

 Version Control Unique User Downloads Download Rankings  
 0%
Total:366
This week:0
All time:6,724
This week:327

For more information send a message to info at phpclasses dot org.