I'm attempting to make an absolutely positioned div element (#slideout) slide underneath another div element .menu using CSS, if possible.
Check out my code here.
Currently, when the red tab is clicked, #slideout covers .menu, but I want it to hide under .menu with only the red tab showing. This way, users can click again to reveal the element.
Some things I've attempted: - Giving .menu a higher z-index. - Giving #slideout a lower or no z-index.
However, these attempts have not been successful.
It would also be helpful if the design was responsive. Do you have any suggestions for CSS tips or possibly jQuery solutions?