CSS Space between menu and submenu
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This is what I'm trying to do: If you noticed there is space between the menu and the submenu. The problem is that the submenu doesn't work this way, because when the mouse pointer leaves the menu the submenu disappears. It only works if it looks like this: How can I leave the space between the menu and the submenu and get it to work? My Code: JSFIDDLE CODE HTML: <body> <nav> <ul> <li><a href="#">One</a> <ul> <li><a href="1.html">1.1</a></li> <li><a href="2.html">1.2</a> </ul> </li> <li><a href="#">Two</a> <ul> <li><a href="3.html">2.1</a><