I want to animate two pictures in thumbnail

actually i have two pictures and i want to animate them one fade in one fade out at same location can you please guide me

Apply absolute position on your two pictures.