Computer Magic Logo

Sunday, June 7, 2015

Published by Aristotelis Pitaridis

CSS is a static language with which you can format the contents of an HTML page. To allow the creation of a page to add dynamic content we need a dynamic language. Less is a dynamic language which extends the capabilities of CSS without having compatibility problems with old web browsers. This is achieved using a compiler which takes a less file and converts it to a CSS file which is recognized by all web browsers. The compiler which makes this work is called CSS precompiler.

Actually Less programming language is an extension of CSS. No need to learn a new language because Less has exactly the same syntax adding extra features. This means that if we take a valid CSS file and change the extension to LESS, the CSS precompiler will process it normally creating a CSS file.