OiO.lk Blog CSS Content scrolls to hide behind element?
CSS

Content scrolls to hide behind element?


I’d like to create a section where as a user scrolls, the content (copy) would scroll down and hidden behind a full-width image that is positioned at the bottom of the section.

I’m hoping that someone much smarter than myself can help me take off my training wheels. Here’s a link to my work so far:

https://yellaroot.flywheelsites.com/about-us-day_1/

Thanks in advance!

I’ve been tinkering with it but, can’t get it to work correctly. So far, I have a section, which is positioned relative. The image div is positioned absolute on the bottom with a z-index of 2. The content block is positioned relative.



You need to sign in to view this answers

Exit mobile version