HTML CSS examples for CSS Widget:Menu Dropdown
Drop Down Menu Assistance
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!-- w ww .ja v a2 s.co m--> } ul li { display:inline-block; position:relative; padding:16px 21px; } ul li:hover { background:Chartreuse; color:yellow; } ul li ul { padding:0; position:absolute; top:49px; left:0; width:151px; display:none; } ul li ul li { background:blue; display:block; color:pink; } ul li:hover ul { display:block; } </style> </head> <body> <ul> <li>Lore</li> <li>Lorem ipsu <ul> <li>Lorem ipsu</li> <li>Lorem ipsum dol</li> <li>Lorem ipsum d</li> </ul> </li> <li>Lorem i</li> </ul> </body> </html>