bootstrap3.3.4该如何实现一个二级垂直下拉菜单?_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:42:34
Original
1210 people have browsed it

 我想实现一个二级垂直下拉菜单,大概要如何实现:点击用户管理就弹出4个子菜单,再点一次就缩回去,文件管理也类似


回复讨论(解决方案)

下拉列表放在一个list里面,一开始display为none,这样不占地方,当点击用户管理时解发函数把display改为block就行了

下拉列表放在一个list里面,一开始display为none,这样不占地方,当点击用户管理时解发函数把display改为block就行了



我用了网上的源码算是出来了一个  可是二级菜单里面的文字居中不了

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!