DEV Community

Moulun Kevin
Moulun Kevin

Posted on

My z-index nightmare

My z-index nightmare

Since I started developping, I ran into some issues with CSS, but lately I discovered why I was pulling my hair off

While I was working with my latest project, I encountered z-index issue

I was trying to make it work, but it did not

But why ?

The z-index property needs a position for it to work, that's what I discovered

You might already know that but I wanted to share it

Thank you for taking the time to read this post! πŸ™

Top comments (0)