Answer the question
In order to leave comments, you need to log in
How do I deal with LESS?
Hello! I have this code:
transition: top 200ms linear, opacity 200ms linear;
-moz-transition: top 200ms linear, opacity 200ms linear;
-webkit-transition: top 200ms linear, opacity 200ms linear;
.transition(@transition) {
transition: @transition;
-moz-transition: @transition;
-webkit-transition: @transition;
}
Answer the question
In order to leave comments, you need to log in
Faced, faced :)
Write:
Similarly for calc() it works, for example
And if you do it with prefixes, then add -ms- for IE 9 :)
I strongly recommend to abandon such mixins in favor of Autoprefixer .
transition: top 200ms linear, opacity 200ms linear;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question