CSS transformations create a new stacking context and contain a block, as described in the specification. In plain English, this means that fixed-position elements with the transformation applied to them will act more like absolutely positioned elements, and z-index values ββare likely to be screwed with.
If you watch this demo , you will see what I mean. The second div has a conversion applied to it, which means that it creates a new stacking context, and the pseudo-elements are located on top, not lower.
So basically, do not do this. Apply 3D transformation only when you need optimization. -webkit-font-smoothing: antialiased; is another way to use 3D acceleration without creating these problems, but it only works in Safari.
Dan Eden May 30 '12 at 10:26 2012-05-30 10:26
source share