0

I break my head about the next issue. I use Bootstrap 3 vendor-prefixes.less for my website to generate the CSS prefixes.

I want to generate the following code:

p {
    -moz-transform: translate3d(0, 50px, 0);
    -ms-transform: translate3d(0, 50px, 0);
    -o-transform: translate3d(0, 50px, 0);
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
}

Trough the following mixin:

p {
    .translate3d(translate3d(0,50px,0));
}

But the Less Compiler displays each time the following error message: "No matching definition was found for .translate3d (translate3d (0, 50px, 0)) in the path ..."

Does anyone have an idea what could cause this?

Ramirez
  • 193
  • 6
  • 20
  • 1
    You are calling it the wrong way. You should call it simply as `.translate3d(0,50px,0)`. I assume that [this](https://github.com/twbs/bootstrap/blob/master/less/mixins/vendor-prefixes.less) is the Less code that you are using. – Harry Jul 27 '15 at 10:20
  • 1
    @Harry It worked, thanks a lot!!! – Ramirez Jul 27 '15 at 10:24

0 Answers0