I have a series of buttons with dynamic rotations:
<button type="button" class="picker-opt" opt-index="1" style="transform: rotateX(84.64deg) translate3d(0px, 0px, 90px); transition-duration: 150ms;">1</button>
<button type="button" class="picker-opt" opt-index="2" style="transform: rotateX(63.48deg) translate3d(0px, 0px, 90px); transition-duration: 150ms;">2</button>
<button type="button" class="picker-opt" opt-index="3" style="transform: rotateX(42.32deg) translate3d(0px, 0px, 90px); transition-duration: 150ms;">3</button>
I want to change all their translateZ values, but adding this rule:
.picker-opt { translate3d(0px, 0px, 100px) !important; }
also cancels out their rotateX, which is unacceptable.
I've enabled the Chrome Experimental Web Platform to get the independent translate but it doesn't appear to include translate3d! How silly.
If you want them to be indpendent then put the various tranforms on different elements.