Currently, I am working on a project that requires the implementation of a unique feature: two trees positioned next to each other, creating a mirror effect. Please refer to the visual representation:
While I have managed to successfully flip the trees horizontally, the issue arises when the text inverts along with it. My goal is to invert the tree while keeping the text in its original orientation.
To view what I have attempted so far, you can visit the following link: http://jsfiddle.net/lontivero/R24mA/
The key class I have utilized in the HTML body is as follows:
.flip-horizontal {
-moz-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1);
-ms-filter: fliph; /*IE*/
filter: fliph; /*IE*/
}
The HTML code snippet looks like this:
<body class="flip-horizontal"></body>
Additionally, here is the JavaScript code snippet:
Ext.create('Ext.grid.Panel', {
title: 'Simpsons',
height: 200,
width: 400,
// more and more code. SO forces me to paste js code ;(
renderTo: Ext.getBody()
});