0

I want .centerChildren to be passed from text-controls. How do I do this?

.centerChildren() {
  display: flex;
  align-items: center;
}

.progressBar(@rest...) {
  .jp-progress {
    ...
    @{rest...} //Something like this
  }
}
.jp-text-controls {
  .progressBar(.centerChildren)
}
Martin Dawson
  • 7,455
  • 6
  • 49
  • 92
  • No, you can't pass a mixin as a parameter to another function. – Harry Feb 02 '17 at 09:59
  • 1
    Related (or possible duplicate of) http://stackoverflow.com/questions/41721356/less-how-can-i-pass-a-mixin-as-an-argument-to-another-mixin/41722581#41722581 – Harry Feb 02 '17 at 09:59

0 Answers0