Sliding door effect, move elements with horizontal scroll by css instead of intersection observer
I’m trying to move riv1 in one direction on scroll, for example left and riv2 in the opposite position on scroll to reveal the background but the code still doesn’t work. I’m trying css like a different approach to intersection observer.