I am performing a CSS transform: rotate on a parent, yet would like to be able to negate this effect on some of the children - is it possible without using the reverse rotation?
Reverse rotation does work, but it affects the position of the element, and it may have a negative performance impact (?). In any case, it doesn't look like a clean solution.
I tried the "transform: none" suggestion from this question prevent children from inheriting transformation css3, yet it simply doesn't work - please see the fiddle here: http://jsfiddle.net/NPC42/XSHmJ/
If you want to apply transforming effects on a parent without affecting its children, you can simply animate a parent's pseudo-element like this:
This actually worked for me. JSFiddle
I believe that you are going to need to fake it using a second child, the spec does not seem to allow for the behaviour you would like, and I can understand why the position of a child element has to be affected by a transform to it's parent.
This isn't the most elegant of solutions, but I think you're trying to do something that the spec is never going to allow. Take a look at the following fiddle for my solution:
May be you have to write like this:
Check this for more http://jsfiddle.net/XSHmJ/1/
UPDATED
You can sue
:after & :before
psuedo class for this.check this http://jsfiddle.net/XSHmJ/4/