News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ibuildings techPortal:
lessphp PHP implementation of Less CSS
December 17, 2010 @ 09:49:54

On the Ibuildings techPortal today there's a new tutorial from Robert Raszczynski with his look at the lessphp project - a native PHP implementation of the LESS CSS framework.

In a nutshell, Less CSS is a tool that lets you simplify your CSS style sheet and allows you to extend limited CSS functionality by introducing variables, mixins, operations and nested rules. The original implementation is written in Ruby; however, there is a PHP solution based on LESS CSS called lessphp.

He mentions the good and the bad about using LESS - it can speed up your CSS development time by making it more familiar but it also comes with the caveat that the CSS files have to be generated each time an update is made. He covers some of the basic features of lessphp including variables, mixins, nested rules, operations (improving on already defined rules) and being able to use multiple .less files. He includes a XML snippet that can be dropped into your Ant (or Phing) build to run the generation at deployment time.

0 comments voice your opinion now!
lessphp less css framework tutorial features


blog comments powered by Disqus

Similar Posts

Felix Geisendorfer's Blog: Two Tutorials - Title to Slug & Dependencies with If

DevShed: Setting Up a Web-Based File Manager: bfExplorer

Systems Architect: Performance benchmark of popular PHP frameworks

Padraic Brady's Blog: ZF Blog App - Part 4: Design with Blueprint CSS & Zend_Layout

Liip Blog: Using the Symfony2 console


Community Events

Don't see your event here?
Let us know!


example version framework api laravel laravel5 opinion list php7 unittest voicesoftheelephpant community extension introduction interview series podcast release library language

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework