Placing images with different sizes but keeping the same dynamic content

Hello everybody, could you please help me out with this issue ?

I need to know if there’s any way to this without changing positions for each element.
I’ve placed this images with different sizes which means that i need to keep the same animation for the over in and over out.
But i’ve tried by adding another class, but stil don’t know how to keep the same effect without changing each element :frowning:

here’s an example how i’d like to keep my grid for a home page

Thank you ! :slight_smile:

Here is my site Read-Only:

[1]: /