Login   Register  
PHP Classes
elePHPant
Icontem

CSS2LESS

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Tom Schaefer
Name: Tom Schaefer is available for providing paid consulting. Contact Tom Schaefer .
Packages: 39 Browse all classes by Tom Schaefer Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: ???
All time rank: 1169 in Germany Germany
Week rank: 43 Up2 in Germany Germany Up
Innovation award
Innovation award
Nominee: 9x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Tom Schaefer  >  CSS2LESS  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CSS2LESS
Base name: css2less
Description: Convert CSS into programmable CSS with LESS syntax
Version: 0.1
PHP version: 5
License: MIT/X Consortium License
All time users: 736 users
All time rank: 3931
Week users: 1 user
Week rank: 2151 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  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

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
LESS Link to less.js
Show Case Online Show Case for CSS to Less and Less to CSS

  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

Download all files: css2less.tar.gz css2less.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.