![enter image description here][1]On my two demo and screenshot, you can understand that so far I got it working, but I need a bit of more help. The tab 3 needs to be in z-index, and the tab 2 should be just be on top of the content number 2.
I hope it’s easy to understand.
or better example the nav in position absolute:
I’m afraid
z-indexwill only work consistently between siblings, not cousins. The tabs should be siblings of the pages to achieve that. You can make the pages themselves part of the<li>‘s as well, which while solving the problem would also improve semantics. Then you should only handle<li>‘sz-indexand profit!EDIT:
From here just position the
figureswhere you like (you can even addz-index:1to have them stack over the<articles>), and work with the<li>‘s as you did with the tabs.