Let's say I have a group of elements to which I want to apply pseudo-classes, is there a way to define multi-petal elements in a variable, and then apply the pseudo-class to each of them at once? For instance:
@inputs: input[type=text], input[type=email], input[type=password], textarea; @inputs { //some styles; } @inputs:focus{ //some focus-specific styles; }
Sorry if this is too obvious, I'm not new to LESS again
source share