Answer the question
In order to leave comments, you need to log in
How to set multiple values in a variable for a mixin in LESS?
I write like this:
.scale3d(@x: 1, @y: 1, @z: 1) {
transform: scale3d(@x, @y, @z);
}
@crease: 1.05, 1.05, 0;
.increase-hover-item {
.scale3d(@crease);
}
.increase-hover-item {
transform: scale3d(1.05, 1.05, 0, 1, 1);
}
.increase-hover-item {
transform: scale3d(1.05, 1.05, 1);
}
@crease
transfer all values for @x, @y и @z
one line in a variable? What am I doing wrong? :-)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question