Home  >  Article  >  Web Front-end  >  jQuery实现渐变下拉菜单的简单方法_jquery

jQuery实现渐变下拉菜单的简单方法_jquery

WBOY
WBOYOriginal
2016-05-16 16:10:151265browse

本文实例讲述了jQuery实现渐变下拉菜单的简单方法。分享给大家供大家参考。具体实现方法如下:

复制代码 代码如下:

#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;}

希望本文所述对大家的jQuery程序设计有所帮助。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn