Roberto Roberto - 4 months ago 9
CSS Question

Disable transform of child in CSS

I want to disable transform in my child div. Here is fiddle. Is it possible to disable scale for class

.image-text
?

.photo:hover{
transform: scale(1.4);
-moz-transform: scale(1.4);
-webkit-transform: scale(1.4);
-o-transform: scale(1.4);
-ms-transform: scale(1.4);
}

.photo:hover >*{
transform: none;
}

Answer
make a new child element and call your image on it.

here you can see http://jsfiddle.net/rajjuneja49/s3hWj/879/

May be you were looking for this....