Tutorial: How To Make A Sticky Image Columns Section In WordPress
hello world!
In this video tutorial, we'll create two different sticky image column sections for your WordPress website with Oxygen.
The first section contains a fading sticky image on one side and content on the second side. The fading effect occurs as the user scrolls down the page. To create this effect, we'll use some CSS positions, and some custom data-attributes, and the design will be made entirely with Oxygen elements and features.
Next, we'll create a second sticky image section that uses a transition effect to change the image as a user scrolls through the content on the page. To make this design, we'll create a custom animation using keyframes via some custom CSS, and then create an Intersect Observer in JavaScript.
For the code used in the video, please visit https://gist.github.com/Spellhammer/cd7d9674ce484813e6cb9c3a76d2758b.