1. 程式人生 > >jquery實現最簡單的下拉選單

jquery實現最簡單的下拉選單

*{ padding:0; margin:0; } .menu { width: 120px; background-color: #CCC; position: relative; height: 26px; } .menu .sub { position: absolute; display
:none; left: 0px; top: 26px; background-color: #9CF; width: 100%; } .menu .sub a { text-decoration: none; color: #0c80d7; }