How to make divs overlap - mobile friendly?

Hi everyone.

I am wondering if z-index is mobile friendly?

Here’s one example of what I’m trying to achieve:

What is the best way to keep the heading stay on top of all other elements?
I don’t want it sliding down when a user opens this on their tablet.

What is the best way to position divs/headings on top of other elements?


Z-index with the position CSS property set to absolute or relative will work just fine :slight_smile:

1 Like