How to create this image effect (Image reveal from top to bottom)?

Team members animation:
https://www.loom.com/share/e55ab7e6e0764b8b81a4bb0c6a95684e

Close example (But I don’t want to use absolute position)

Any ideas.