基础菜单Menu Basic
<div class="menu-basic">
<div><a href="#">Home</a></div>
<div><a href="#">Clothing</a></div>
<div><a href="#">Electronics</a></div>
<div><a href="#">Accessories</a></div>
</div>
填充Grow
添加class="grow"使菜单项自动均分剩余空间
<div class="menu-basic grow">
...
</div>
激活与禁用Active and Disabled
为<div>元素添加class="active"转换为激活项,添加class="disabled"转换为禁用项
<div class="menu-basic">
<div><a href="#">Home</a></div>
<div class="active"><a href="#">Clothing</a></div>
<div><a href="#">Electronics</a></div>
<div class="disabled"><a href="#">Accessories</a></div>
</div>
自定义风格Custom Style
可以使用自定义风格工具快速创建CSS
<div class="menu-basic mystyle">
...
</div>
下拉菜单Menu Drop
<div class="menu-drop">
<div><a href="#">Home</a></div>
<div>
<a>Clothing</a>
<ul>
<li><a href="#">T-Shirts</a></li>
<li><a href="#">Long Sleeve Shirts</a></li>
<li><a href="#">Polo Shirts</a></li>
</ul>
</div>
<div>
<a>Electronics</a>
<ul>
<li><a href="#">iPhone 8 Cases</a></li>
<li><a href="#">iPhone 7 Cases</a></li>
<li><a href="#">iPhone 6 Cases</a></li>
</ul>
</div>
<div>
<a>Accessories</a>
<ul>
<li><a href="#">Watches</a></li>
<li><a href="#">Hats</a></li>
<li><a href="#">Cufflinks</a></li>
</ul>
</div>
</div>
填充Grow
添加class="grow"使菜单项自动均分剩余空间
<div class="menu-drop grow">
...
</div>
激活与禁用Active and Disabled
为菜单项添加class="active"转换为激活项,添加class="disabled"转换为禁用项
<div class="menu-drop">
<div><a href="#">Home</a></div>
<div class="active">
<a>Clothing</a>
<ul>
<li class="active"><a href="#">T-Shirts</a></li>
<li><a href="#">Long Sleeve Shirts</a></li>
<li class="disabled"><a href="#">Polo Shirts</a></li>
</ul>
</div>
<div>
<a>Electronics</a>
<ul>
<li><a href="#">iPhone 8 Cases</a></li>
<li><a href="#">iPhone 7 Cases</a></li>
<li><a href="#">iPhone 6 Cases</a></li>
</ul>
</div>
<div class="disabled">
<a>Accessories</a>
<ul>
<li><a href="#">Watches</a></li>
<li><a href="#">Hats</a></li>
<li><a href="#">Cufflinks</a></li>
</ul>
</div>
</div>
自定义风格Custom Style
可以使用自定义风格工具快速创建CSS
<div class="menu-drop mystyle">
...
</div>
折叠菜单Menu Accordion
<div class="menu-accordion">
<div><a href="#">Home</a></div>
<div>
<a>Clothing</a>
<ul>
<li><a href="#">T-Shirts</a></li>
<li><a href="#">Long Sleeve Shirts</a></li>
<li><a href="#">Polo Shirts</a></li>
</ul>
</div>
<div>
<a>Electronics</a>
<ul>
<li><a href="#">iPhone 8 Cases</a></li>
<li><a href="#">iPhone 7 Cases</a></li>
<li><a href="#">iPhone 6 Cases</a></li>
</ul>
</div>
<div>
<a>Accessories</a>
<ul>
<li><a href="#">Watches</a></li>
<li><a href="#">Hats</a></li>
<li><a href="#">Cufflinks</a></li>
</ul>
</div>
</div>
激活与禁用Active and Disabled
为菜单项添加class="active"转换为激活项,添加class="disabled"转换为禁用项
<div class="menu-accordion">
<div><a href="#">Home</a></div>
<div class="active">
<a>Clothing</a>
<ul>
<li class="active"><a href="#">T-Shirts</a></li>
<li><a href="#">Long Sleeve Shirts</a></li>
<li class="disabled"><a href="#">Polo Shirts</a></li>
</ul>
</div>
<div>
<a>Electronics</a>
<ul>
<li><a href="#">iPhone 8 Cases</a></li>
<li><a href="#">iPhone 7 Cases</a></li>
<li><a href="#">iPhone 6 Cases</a></li>
</ul>
</div>
<div class="disabled">
<a>Accessories</a>
<ul>
<li><a href="#">Watches</a></li>
<li><a href="#">Hats</a></li>
<li><a href="#">Cufflinks</a></li>
</ul>
</div>
</div>
自定义风格Custom Style
可以使用自定义风格工具快速创建CSS
<div class="menu-accordion mystyle">
...
</div>
滑动菜单Menu Fadeinright
<div class="menu-fadeinright">
<div><a href="#">Home</a></div>
<div>
<a>Clothing</a>
<ul>
<li><a href="#">T-Shirts</a></li>
<li><a href="#">Long Sleeve Shirts</a></li>
<li><a href="#">Polo Shirts</a></li>
</ul>
</div>
<div>
<a>Electronics</a>
<ul>
<li><a href="#">iPhone 8 Cases</a></li>
<li><a href="#">iPhone 7 Cases</a></li>
<li><a href="#">iPhone 6 Cases</a></li>
</ul>
</div>
<div>
<a>Accessories</a>
<ul>
<li><a href="#">Watches</a></li>
<li><a href="#">Hats</a></li>
<li><a href="#">Cufflinks</a></li>
</ul>
</div>
</div>
激活与禁用Active and Disabled
为菜单项添加class="active"转换为激活项,添加class="disabled"转换为禁用项
<div class="menu-fadeinright">
<div><a href="#">Home</a></div>
<div class="active">
<a>Clothing</a>
<ul>
<li class="active"><a href="#">T-Shirts</a></li>
<li><a href="#">Long Sleeve Shirts</a></li>
<li class="disabled"><a href="#">Polo Shirts</a></li>
</ul>
</div>
<div>
<a>Electronics</a>
<ul>
<li><a href="#">iPhone 8 Cases</a></li>
<li><a href="#">iPhone 7 Cases</a></li>
<li><a href="#">iPhone 6 Cases</a></li>
</ul>
</div>
<div class="disabled">
<a>Accessories</a>
<ul>
<li><a href="#">Watches</a></li>
<li><a href="#">Hats</a></li>
<li><a href="#">Cufflinks</a></li>
</ul>
</div>
</div>
自定义风格Custom Style
可以使用自定义风格工具快速创建CSS
<div class="menu-fadeinright mystyle">
...
</div>
当前内容版权归 diquick.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 diquick.com .