The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS z-index problem

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #42830

    Hello. Can anybody help me solve this problem please?

    I have a menu tab sliding out from a side bar, all works nicely, it’s just that when the tab slides back I can’t get the sliding
    in tab to go “behind” the top div. I’m pretty sure I have the z-index correct for all the elements, but obviously something’s not right.

    Here’s a link to see it in action

    Any help greatly appreciated.

    Here’s a link to the relevant code on CodePen



    Kitty Giraudel

    There you go:

    Please, when you make a reduced test case, make it right. It took me almost 5 minutes to clean the code, remove unused parts, replace images and fix indentation before even starting to work on your problem.


    Thanks Hugo!

    Point taken, I will make things a lot tidier next time.

    Thank you again for your help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.