LESS tutorials

  • Parametric mixins

    In the tutorial Styling with LESS we saw that LESS Mixins are classes that can be mixed into other classes. This is especially time saving when we use a class containing several lines of code and mix that in to define another class.

    Parametric Mixins give us flexibility. We can use the same rule set to define another class but customize it in different situations with the parameter(s).

    read more

  • LESS Nesting

    One of the features of LESS is that you can avoid writing long selector names and use Nesting. LESS Nesting also has the advantage that you reflect the hierarchical DOM structure when constructing style rules.

    In this tutorial I’ll tell you about the principles and practical uses of LESS Nesting.

    read more