Been trying to get a “pure css” dropdown
been trying for days to get a “simple” css drop down nav going can get the top level displayed and the second level hiding but can’t make the sub items display on hover?? any help much appreciated sample Isolated is here::
css and html below paste bin
http://www.webdevout.net/test?01t
Been trying to get a pure css dropdown been trying for days to get
Share
Your problems are probably because you’ve constructed your html wrongly. The sub-menu (
.level-two) should be nested within the.level-onelielements:If you then use the following css:
I think that should be enough to get you started. Feel free to ask any questions in comments, or update your question.
Also, since I’m assuming you’re fairly new to this, I’d like to offer you the following references:
There are dozens, if not hundreds, more to be found…