Login   Register  
PHP Classes
elePHPant
Icontem

CSS to LESS: Convert CSS stylesheets to LESS format

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 (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-08-26 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 319 All time: 6,420 This week: 1,428Up
Version Licenses PHP version Categories  
css-to-less 1Free For Educational Use, F...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: 148926 in Ukraine Ukraine
Week rank: 1782 Down29 in Ukraine Ukraine Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file class.css_to_less.php Class class file
Accessible without login Plain text file index.php Example example file
Accessible without login Plain text file css.css Data example css-code
Accessible without login Plain text file less.less Data generated less-code

 Version Control Unique User Downloads Download Rankings  
 0%Total:319All time:6,420
 This week:0This week:1,428Up