Say we need the a few different classes to use following:
color:#ccf;
background-color:#fcc;
font-size:0.7em;
How do we set this up in LESS?
These classes can NOT be used with each other so setting them up in a comma separated list (.note, .product, .restricted{ } ) is not a solution.
We need something like:
@myClass{
color:#ccf;
background-color:#fcc;
font-size:0.7em;
}
.note{@myClass}
.product{@myClass}
.restricted{@myClass}
I tried this and it just kills LESS.