Today I will briefly go over a new means to style your webpage. You most likely have some experience or familiarity with CSS, but for those who do not, CSS (cascading style sheets) is the web standard for giving design to your page. The problem I have found with CSS in the past has been that it is very much so static, meaning that everything you want your CSS to do with your elements of the page you have to write out specifically. I want my styles to be dynamic, I want elements to be styled differently under different circumstances, and I don’t want to have to type the same thing over and over again just because I have elements that require similar styling. With LESS, this is no longer a problem. What LESS is essentially is a language to program you CSS instead of writing static stylesheets. LESS follows similar syntax as CSS but allows for things such as variables and functions, making your styles take shape according to output (desktop, mobile, etc.) or other conditions and also allows for reusable code and styles. Even better on the reusable code, you can import other LESS stylesheets into your styles. Why would you want to do something like that? Well what this will let you do is build a series of functions and styles that you know you will be using in pretty much every web project so you dont have to rewrite the styles at all. For those of you who are programmers, it’s the same a building libraries. Also, since the language is so similar to CSS, you will be able to take advantage of some of your code hints in Dreamweaver or the IDE of your choosing.

LESS is very easy to use. By only importing the less.js javascript file and a slight change on your typical linking of stylesheets, you can bring in your LESS styles.