Is there any way to create a preloader that expands into the site?

For example, something like this, www.loftgarten .co/