title: jQuery only performing one CSS transform
body: <p>I have a carousel that needs to be animated in 3D space in IE. So I am chaining the transforms on each child element to make this happen and it works...but only partially. </p>
  
  <p>The jQuery call I make to rotate the individual divs will overwrite the current inlines styles one of which is the translateZ. So I put the translateZ into the function along with the transform rotateY but now jQuery decides to do one or the other and not both. </p>
  
  <p>Here is my code...</p>
  
  <pre><code>    carouselAnimate = function () {
      var angle = $('.carousel').data('angle');
      var translate = $('.carousel').data('translate');
      var rotation = 0;
      var count = 0;
      $(".carouselImgs").each(function() {
          if(count === 0){
              rotation = 0;
          }else{
              rotation = rotation + angle;
          }
          var nxtStep = rotation + angle;
          $(this).css({
              transform: 'rotateY(' + nxtStep +'deg)' + 'translateZ(' + translate +'px)'
  
          });
          count++; 
      });
  };
  
  &lt;div class="carousel" data-angle="&lt;?php echo $imgArray[0]["angle"]; ?&gt;" data-translate="&lt;?php echo $imgArray[0]["translateZ"]; ?&gt;"&gt;
   &lt;?php foreach ($imgArray as $img) : ?&gt;
                  &lt;div class="carouselImgs" style="transform: rotateY(&lt;?php echo $img["rotateY"]; ?&gt;) translateZ(&lt;?php echo $img["translateZ"]; ?&gt;); 
                       -webkit-transform: rotateY(&lt;?php echo $img["rotateY"]; ?&gt;) translateZ(&lt;?php echo $img["translateZ"]; ?&gt;);"&gt;
                      &lt;img src="&lt;?php echo $img["img"]; ?&gt;"/&gt;
                  &lt;/div&gt;
   &lt;?php endforeach; ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Now of course I still need to get this into an animation but I was gonna worry about that later, first I just need to get both rotateY and translateZ to fire, because again...as of now jQuery will only run one of them and then overwrite what was already there.</p>