- Posts Tagged ‘LESS’

CSS LESS Compiler in PHP

Here is a LESS Compiler written in PHP. When I read about this first time and glanced through the documentation then I liked these things: Loved this checkedCompile() method which will check if file is already compiler or not ! $less->checkedCompile("input.less", "output.css"); If the file is compiled but older than… (Continue)

CSS LESS: How to do Looping?

The CSS LESS code output 5%, 10%, 15%... 100%. This is what I wanted to generate with LESS. This code on Stackoverflow provided some clue about "How to Loop" in LESS but it was not working. I have updated there as well. @iterations: 100; .loopingClass (@index) when (@index > 0)… (Continue)