PHP Classes

CSS2LESS: Convert CSS into programmable CSS with LESS syntax

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-07-18 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 787 All time: 4,151 This week: 871Up
Version License PHP version Categories
css2less 0.1MIT/X Consortium ...5HTML, PHP 5
Description Author

This class can convert CSS into programmable CSS with LESS (Leaner CSS) syntax.

It can parse a given CSS style sheet and extract certain common property constant values to turn them into variables in the converted output using LESS .

Currently it turns the CSS properties into LESS variables: color, width, height, font-family and font-size.

Innovation Award
PHP Programming Innovation award nominee
July 2012
Number 3

Prize: One copy of RadPHP XE2
LESS is a language that is used to create CSS style sheets using programming constructs like variables to define common property values.

This class can transform a regular CSS file into a file with LESS syntax.

It help the starting effort to migrate development based from on static CSS to dynamic style sheets using the LESS syntax.

Manuel Lemos
Picture of Tom Schaefer
  Performance   Level  
Name: Tom Schaefer is available for providing paid consulting. Contact Tom Schaefer .
Classes: 39 packages by
Country: Germany Germany
Age: ???
All time rank: 1099 in Germany Germany
Week rank: 311 Down11 in Germany Germany Down
Innovation award
Innovation award
Nominee: 9x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file class.css2less.php Class class
Plain text file class.css2less.v02.php Class Some minor enhancements
Accessible without login Plain text file sample.php Example simple example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,151
This week:871Up
User Comments (1)