Animate Child component

Hello all.
Hope you are all doing well and “stay at home”.
I want to ask a quastion about animation.
Is it possible to “move” (translateX or translateY) a Child Component and move (“pass”) over the parent Component?

Thank you very much and stay safe✌️

Could you explain a bit more detailed what you try to archive?

For example. I have a div (Parent component) with a smaller div(children component) inside it. When the users clicks on the children component i want to move it over the parent component but all the movement to be visible.
When i try it the children component hides itself behind the parent component.