In pure CSS if I want to declare the same property for 2 selectors, it's sufficient to separate these selectors with a comma such as:
#first_id,
.second_class
{
color:red;
}
How can I make the same thing for 2 LESS Mixins declaration?
I would like to make something like this:
.generic_transition (@duration:1s),
.other_transition (@duration:1s)
{
-webkit-transition:all @duration;
-moz-transition:all @duration;
-ms-transition:all @duration;
-o-transition:all @duration;
transition:all @duration;
}
But it does not run.... How to reach expected result? Thank you.