Founder and Lead Developer of Macrotone Consulting Ltd.
2 minutes reading time (341 words)

Doing more with LESS. part of our ongoing work on our Joomla components we have been looking at the ‘next’ logical change that we want to implement with the CCS styles.  This is of course making use of the LESS compiler.

What is LESS you might ask.  Well LESS is a dynamic stylesheet language, which extends CSS with dynamic behaviour such as variables, mixins, operations and functions.  It can run upon both the server-side or client-side (modern browsers only) on a site.


  1. Variables:  Variables allows one to specify widely used values in a single place, and then re-use them throughout the style sheet, making global changes as easy as changing one line of code.

  2. Mixins:  Mixins allows one to embed all the properties of a class into another class by simply including the class name as one of its properties. It’s just like variables, but for whole classes. Mixins can also behave like functions, and take arguments.

  3. Nested Rules:  Rather than constructing long selector names to specify inheritance, in Less one can simply nest selectors inside other selectors. This makes inheritance clear and style sheets shorter.

  4. Functions & Operations: If there are some elements in a style sheet that are proportional to other elements, operations permit one to add, subtract, divide and multiply property values and colours, giving the power to create complex relationships between properties. Operations should only be performed within parentheses in order to ensure compatibility with CSS. Functions map one-to-one with JavaScript code, allowing you to manipulate values however one wants.

LESS is of course used in Joomla 3.x along with the Bootstrap template so is an obvious enhancement that we would want to make, however whether this will be on the Joomla 2.5 supported versions or just for our Joomla 3.0 versions (when ever they become available) is a matter for conjecture.

Our current CSS work (with Issue Tracker) is progressing nicely so is probably not ready yet to take advantage of LESS, however it is something we will be closely watching and implementing in the fullness of time.

Private IP addresses visible on Internet?
Web Standards

By accepting you will be accessing a service provided by a third-party external to

Go To Top

The Macrotone Consulting Web site would like to use cookies to store information on your computer, to improve our website. Cookies used for the essential operation of the site have already been set. To find out more about the cookies we use and how to delete them, see our Privacy Policy.

I accept cookies from this site.