I want to get mirror image of image in both x-axis and y-axis using jQuery . When user clicks on button image changes to it's mirror image.
I am not able to search it on internet.
I just got one solution using css not jquery but I need jQuery for both the direction.
I want to do these reflections one by one means when I click on Reflect X button it should reflect on X-axis and similar case for Y axis.
So I used scaleX(-1) instead of scale() for x-axis but what the problem is When I do it image is reflecting fine but it's position is changing. Can you Please help me to keep it stay on the same place and just reflect it on x-axis.
Thanks!!!