Priority within intersection

Hi there,

I have two divs with their content intersecting each other in small scales. Image is always “higher” than the text, so when image and text intersect, image is visible and text is not in the intersection zone, and I want to do the opposite: to make text visible above an image. How could I implement it?


Here is my site Read-Only: Webflow - Coach Shevchenko v.1

Shouldn’t your layout should be vertically stacked for small screens?

But if you still need that, you can apply negative z-index on the image’s parent DIV.

That works. Firstly I had to change position to relative, and then it works. Thank you!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.