Forum Bugs

CSS transform property not working without -webkit- prefix

quiredan
I was having an issue with a style that is applying transform: translate(0 -50%) on an element. That style is not applied unless I write it as:

-webkit-transform: translate(0, -50%);


We're using Prince 11 and the docs list transform as being supported without any prefix. Any idea why this might be happening?
mikeday
That's very strange as Prince definitely does not support any -webkit properties. Are you using SaSS or some other CSS preprocessor? Or could you have a "transform: none" being applied by some other style sheet?
quiredan
Sorry for the confusion, it's actually not Prince that's the issue here.

We do use Prince for the most part to generate PDFs, but there's another part of our app that uses some different things, including PhantomJS, and that's where the -webkit- prefix is needed.