When I try to rotate a set of divs using the following code:
map-grid:
-webkit-transform:skewX(-45deg) rotate(15deg) scaleX(1.785) scaleY(.8) translateX(7em) translateY(-4.5em);
-moz-transform:skewX(-45deg) rotate(15deg) scaleX(1.785) scaleY(.8) translateX(7em) translateY(-4.5em);
-ms-transform:skewX(-45deg) rotate(15deg) scaleX(1.785) scaleY(.8) translateX(7em) translateY(-4.5em);
-o-transform:skewX(-45deg) rotate(15deg) scaleX(1.785) scaleY(.8) translateX(7em) translateY(-4.5em);
transform:skewX(-45deg) rotate(15deg) scaleX(1.785) scaleY(.8) translateX(7em) translateY(-4.5em);
which is supposed to create an isometric grid, the content inside each div remains rotated. To fix this, I tried:
map-grid-cell-content:
-webkit-transform: none;
-moz-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
Here is the basic structure of the markup:
<div class='map-container'>
<div class='map-grid'>
<div class="map-grid-cell-content">
<< the content that should not be rotated >>
</div>
</div>
</div>
Unfortunately, the content inside the divs still appears rotated. Any suggestions on how to make this work as intended?