What is Preprocessor Preprocessor in computing language stands for a program that processes the input data to produce output data. CSS Preprocessor, does the same thing as it processes the input of a block of script to readable CSS files. At the moment of writing, there are various popular CSS Preprocessor available and most of […]
Preprocessor in computing language stands for a program that processes the input data to produce output data. CSS Preprocessor, does the same thing as it processes the input of a block of script to readable CSS files.
At the moment of writing, there are various popular CSS Preprocessor available and most of them does same thing with varied extended functionalities. Two of the most popular CSS Preprocessor are LESS and SASS.
After doing some research I chose LESS for following reasons:
As being a web developer, CSS Preprocessor makes life easy in various ways. Mostly:
Compliers complies LESS files to readable CSS. There care various compilers avaialbale, but my personal favourite had been been Crunch. Its compiler as well as editor too.
The idea behind writing LESS is to modularity, flexibility and reusability. The main building blocks of LESS are:
Over the coming days I would be talking more about these building blocks. This had been a very brief intro to the latest CSS trend on how to write a better CSS codes. CSS over the bigger projects can be hectic and troublesome to maintain. But with the concept of OOCSS(object oriented CSS) and tools and technologies like LESS and Crunch, one can write CSS that are easy to manage and maintain.