News for hackers. Stuff that matters.
Re:Fix CSS by writing it in JavaScript by nawitus on Tuesday November 25, 2014 @12:57PM (#8658754)
You could use the namespace feature of Less for that:

http://lesscss.org/features/#features-overview-feature-names...

I haven't personally used it, though.

Another solution would be have a "button.less" like this:

  comp-a, comp-b, comp-c {
    .button {
    }
  }

There are no comments on this comment yet.