I am trying to create an effect so when the user hovers over the image , the image becomes centred and the other one changes perspective.
so here is the initial state of the two images:
https://codepen.io/user83752321/pen/ExVMxRW
If user hovers over the first image, this happens:
https://codepen.io/user83752321/pen/xxwBxJr
if user hovers over the second image, this happens:
https://codepen.io/user83752321/pen/bGVZNGG
I want to make this transition smooth, using just css hover wont make it smooth
thanks for help in advance