Less Parametric Mixins
Less parametric mixin is a special mixin in which one or more parameters are used to extend functionality of Less by taking arguments and its properties and customize the mixin output when mixed into another block.
Let's see an example of parametric mixin:
Here, the parametric mixin is border which has three parameters named width, style and color. These parameters are used to customize the mixin output according to passed parameter values.
A list of different types of parametric mixins: