I am wanting to animate two properties in Bootstrap v2.1.0,
The opacity
and the margin
.
I have tried:
.transition(opacity 0.5s, margin 0.25s);
: No output
.transition('opacity 0.5s, margin 0.25s');
: Invalid CSS output
.transition(opacity 0.5s); .transition(margin 0.25s);
: Margin overrides opacity.
Note that I am using lessphp so solutions that use the JavaScript regex will not work.
I know I could copy the mixin and modify it to accept two parameters as well, but that just seems hacky, surely there is a better way?