less.ruby
less.ruby copied to clipboard
comma
I love parametrizable mixins.
But the first one I tried is causing me some problems:
.animate(@property: all) { -webkit-transition-duration: 0.4s; -webkit-transition-property:@property; -webkit-transition-timing-function: ease-in; }
.onedim { .animate(top); } .twodim { .animate(top, left); }
See, I want to animate both top and left. The value for the -transition-property should be "top, left". But that is (rightfully) parsed as two parameters...
Any way of fixing this? Maybe allow , as an escaped comma?
Thanks in advance and thanks for the great tool