Home › Forums › CSS › Opinion: Can we improve the efficiency of comma separated multiple selector targeting › Re: Opinion: Can we improve the efficiency of comma separated multiple selector targeting
September 20, 2012 at 11:40 am
#110437
Participant
<< Rather than writing the .someClass part multiple times and bloating our code, wouldn't it be easier to simply state .someclass [h2, p, .subClass] { margin: 0 0 1em; } or similar? >>
I can’t remember where I read this, but this type of format was already addressed by someone/some tool. SASS? Less? Can’t recall at the moment, but indeed it would be nice if this would be included in the CSS format.