Using multiple classesas mixins

39 views
Skip to first unread message

g.d...@gmail.com

unread,
Apr 30, 2013, 4:20:07 AM4/30/13
to dot...@googlegroups.com
Hey guys, it looks like using a rule like this:

.class1.class2{
    // Some styling
}

#element{
   .class1.class2;
}

doesn't work - dotless complains about '.class1.class2' not being defined. Questions:
  • Is that a known situation? 
  • Is there a particular reason this is the case? Less.js-based compilers like Winless, or less.app on the mac handle multiple-class mixins without a problem...
  • Are there any plans to change this behavior in the future? This would really help with Bootstrap-based project, offering more possibilities in terms of style-reuse.
Thanks for the help, much appreciated!

--
Guillaume
Reply all
Reply to author
Forward
0 new messages