Site URL: https://puma-hibiscus-cfk8.squarespace.com/
Hi there,
I found this tutorial about a parallax overlapping effect for sections:
https://library.superhi.com/posts/parallax-overlapping-sections-using-sticky-positioning
I tried it out, and it works almost fine. I have one problem: the effect starts overlapping the section although the content isn’t loaded completely. The smaller text gets cut at the end of every section. Anyone any idea how to fix it?
Thanks a lot for your help!
My code:
#siteWrapper section[data-section-id="621c9fa9c9e50e3f55a26b38"] {
position: sticky;
position: -webkit-sticky;
top: 0;
}
#siteWrapper section[data-section-id="621ca0171f61485008230187"] {
position: sticky;
position: -webkit-sticky;
top: 0;
}
#siteWrapper section[data-section-id="621c9fa9c9e50e3f55a26b38"] {
position: sticky;
position: -webkit-sticky;
top: 0;
}
#siteWrapper section[data-section-id="621ca0171f61485008230187"] {
position: sticky;
position: -webkit-sticky;
top: 0;
}
#siteWrapper section[data-section-id="621ca0dd94eb8b659e6d97e9"] {
position: sticky;
position: -webkit-sticky;
top: 0;
}
#siteWrapper section[data-section-id="621ca1d5a5cbf94bb9fffd14"] {
position: sticky;
position: -webkit-sticky;
top: 0;
}
#siteWrapper section[data-section-id="61eae59aeef95b3951e803e5"] {
position: sticky;
position: -webkit-sticky;
top: 0;
}
example_overlapping_sections.mp4