Like in the title.
I have three level menu and want it to look like:
[ FIRST LEVEL ITEM ]
--------------------
[ SECOND LEVEL ITEM ]
[ SECOND LEVEL ITEM ]
[ THIRD LEVEL ITEM ]
[ SECOND LEVEL ITEM ]
[ THIRD LEVEL ITEM ]
[ SECOND LEVEL ITEM ]
But third level items are displaying just behind the other items.
I added huge 50px red frame to them, so you will be able to see what's the point:
http://jsfiddle.net/TQH9v/
I'm a bit sleepy and tired & have to finish this code today, so sorry for so many stupid questions. At least easy reputation points :P
Thank you :)
以上就是CSS3 - menu element behind its parent?的详细内容,更多请关注web前端其它相关文章!