css+html写下拉导航栏
来源:互联网 发布:达观数据 技术体系 编辑:程序博客网 时间:2024/05/24 01:39
<!DOCTYPE html><html><head><meta charset="UTF-8"><title></title><style type="text/css">*{margin: 0px;padding: 0px;}.heading>li{border-radius: 10px;line-height: 37px;text-align: center;width: 60px;height: 37px;list-style: none;background-color:silver;}.heading>li>ul>li{width: 60px;height: 37px;height: 37px;list-style:none ;float: left;background-color:silver;border-radius: 10px;margin-top: 2px;display: none; /*隐藏下拉列表*/}.heading>li:hover ul li {/* 显示下拉列表 列表标签必须是触发标签的子级 如li是下拉菜单 */ background: red; /*是由第一个li的hover状态触发显示 第二个li必须是第一个li的子级*/display: block;}.heading>li>ul>li>a{text-decoration: none;}.heading>li>ul{display: block;}</style></head><body><ul class="heading"><li><a class="xila">java</a><ul><li><a href="">1</a></li><li><a href="">2</a></li><li><a href="">3</a></li><li><a href="">4</a></li><li><a href="">5</a></li></ul></li></ul></body></html>
0 0
- css+html写下拉导航栏
- css+jquery(js)写下拉菜单
- 纯css写下拉箭头,三角,半圆。
- js dom html 写下拉菜单
- css+html导航栏实例
- html+css 圆角导航栏菜单
- Html+Css水平下拉导航栏
- html加css实现简易导航栏
- HTML CSS 水平导航
- css+html导航条
- 可写下拉框
- 可写下拉框
- HTML+CSS 实现面包屑导航
- html+css水平导航菜单
- HTML+CSS实现导航页
- 导航下拉菜单 html/css
- html+css简易导航条
- 用html和CSS绘制网页的导航栏
- Linux - C进程间通信(预习内容七)
- C#委托的使用,排序。
- Python爬虫获取POJ某个用户的所有提交状态
- 81. Search in Rotated Sorted Array II
- 任务二 标准体重计算器
- css+html写下拉导航栏
- Android小技巧--用style减少重复代码
- 第五周项目4--数制转换
- Openjudge 2.6基本算法之动态规划:8782乘积最大
- java基础
- swift UIButton
- 当浏览器输入URL后都经历了什么?
- NOIP提高组【JOZJ4798】天使的分裂
- C语言中的static 详细分析