javascript image flip horizontal code example
Example 1: flip image css
.image{
transform: rotateY(180deg);
}
Example 2: flip an image js
<div class="f1_container">
<div class="shadow f1_card">
<div class="front face">
<img src="http://media-cdn.tripadvisor.com/media/photo-s/03/48/0b/14/dolphin-view-chalets.jpg" style="height: 281px; width: 450px;" />
</div>
<div class="back face center">
<img src="http://media-cdn.tripadvisor.com/media/photo-s/03/48/0b/14/dolphin-view-chalets.jpg" style="height: 281px; width: 450px;" />
</div>
</div>
</div>