So, I had the idea to have the background color change with each different page on my website, because it’s almost too fast to visually discern that you’re on a different page sometimes
Can you think of any way to fade out the previous page background color into the new one, so that there’s a nice smooth transition from one page to the next?
Like the background colors transition into each other somehow?
We will build in future plugin for page transitions. It’s possible with Divhunt to catch page load/ready/unload so we can build some awesome animations
You need to copy the following style to the site settings, in the body start section of custom codes.
<style>
body {
opacity: 0;
transition: all 1000ms 0ms linear;
background: rgba(24, 27, 52, 1); /* replace with your own background color */
}
body:has(.dh-body) {
opacity: 1;
}
</style>