How to create a preloader mask with CSS/JS?

49 views Asked by At

I'm trying to recreate a part of the preloader of this website - specifically the part where the "red box" swipe ups and reveals what's beneath.

I tried playing with CSS transitions, but I can't seem to find a solution - or even an example - to it. How could I do it without libraries?

Thanks in advance!

0

There are 0 answers