Insights and Inspiration – The Hostnicker Blog
February 10, 2024
To create custom page load animations in Webflow, start by logging into your Webflow account and opening a new or existing project with either a blank canvas or a selected template.
Begin by adding a load screen. Insert a new div block from the Add panel, and assign it a class name like "loader-screen". Set its dimensions to cover the entire viewport, using 100vw for width and 100vh for height. Ensure it's positioned as fixed using the Style panel, so it stays visible during the load. Choose a background color, gradient, or add an image or logo for visual appeal.
Design the animation in the Interactions panel by selecting the loader screen, clicking the plus icon, and choosing a Page Load trigger. Under the On Load section, add an action such as Fade Out for the animation style. Choose a duration of 1 to 3 seconds for a smooth effect. Optional effects like scaling or rotating can enhance visual interest.
After the animation, hide the loader screen. Add a Hide action to occur after the animation concludes within the Interactions panel, ensuring that users see the main content seamlessly afterward.
Preview your animation by clicking the eye icon in the top left of the Webflow designer. This lets you refresh the page and observe how the loader screen animates before the main content appears. Adjust and refine the animation as needed based on the preview.
Finally, publish your project by hitting the Publish button in the top right corner of the Webflow designer. This makes the new page load animation live on your website.
By following these steps, you create a custom page load animation that enhances user experience and adds visual flair to your website. Experiment with different styles and transitions to find the perfect match for your site's design.