0

I am trying to add vendor prefixes -webkit-transform, -moz-transform in css using jQuery but for some reason they are not added when the inspect elements. Am I missing anything

$('#show').css({
  'transform':'translateY(-60px)', 
  '-webkit-transform':'translateY(-60px)', 
  '-moz-transform':'translateY(-60px)'
});

But when I inspect element on browsers, I can only see transform: translateY(-60px);

Praveen Kumar Purushothaman
  • 164,888
  • 24
  • 203
  • 252
Ayanize
  • 485
  • 1
  • 4
  • 21

0 Answers0