The example in this article describes a simple way to implement a gradient drop-down menu with jQuery. Share it with everyone for your reference. The specific implementation method is as follows:
#nav li {float:left; line-height:2em; margin:5px 0 5px 5px;}
#nav li ul {position:absolute; **display:none;** z-index:9999;width:150px; left:-999em;margin:0; background:#C00;border-radius:10px;-moz- border-radius:10px;-webkit-border-radius:10px;box-shadow:0 0 15px #F63;-moz-box-shadow:0 0 15px #F63;-webkit-box-shadow:0 0 15px #F63 ;}
I hope this article will be helpful to everyone’s jQuery programming.