Swup is not animating: dependency bundling #514
-
Swup is not working for me and I'm not sure why. I believe I have everything correct. How I transition pages: (is having the ./ in the beginning fine with swup?) <a href="./about">
<img src="./Images/arrow.png" alt="Learn More">
</a> How I have the ID for all the pages: (The button that transitions between pages is within this main tag but I don't know if that means anything) <main id="swup" class="transition-fade"> The CSS: .transition-fade {
transition: 0.4s;
opacity: 1;
}
html.is-animating .transition-fade {
opacity: 0;
} If you guys need more info let me know but I think this is all that is needed to make stuff animate. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Relative links like |
Beta Was this translation helpful? Give feedback.
-
To help you troubleshoot, please (a) post a link to a website with your current setup or (b, better) fork this sandbox template to see if you can reproduce it there. |
Beta Was this translation helpful? Give feedback.
To help you troubleshoot, please (a) post a link to a website with your current setup or (b, better) fork this sandbox template to see if you can reproduce it there.