Does anyone know a way to target only the background-image
when using css3 animations? Say for example, an element has a width+height of 60px, and the background-image has a width+height of 40px.
Live example: http://jsfiddle.net/8JU6j/
Edit: I tried using the :before
pseudo selector for the background-image and animation, but that doesn’t solve the problem unfortunately.
Live example: http://jsfiddle.net/8JU6j/1/
Edit 2: Forgot about this resource. Seems to clarify things now.