css实现tab效果仿163邮箱样式
2013-12-11 16:56
615 查看
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=GB2312" /> <title>163邮箱tab</title> <style type="text/css"> *{ margin: 0px; padding: 0px; } .dvTab { font-family: 'Microsoft Yahei',verdana; font-size:14px; height: 36px; position: absolute; left: 0px; width: 100%; top: 52px; } .menu { margin-left:12px; color: rgb(106, 106, 106); } .tab { list-style-type:none; float:left; margin-right: -1px; border:solid 1px #B9C4CF; width:91px; background: -moz-linear-gradient(center top , rgb(254, 255, 255), rgb(218, 232, 246)) repeat scroll 0% 0% transparent; background-color:#EBF3FA; height:23px; line-height:23px; text-align: center; padding: 5px 20px 4px 8px; border-top-left-radius: 3px; border-top-right-radius: 3px; text-overflow: ellipsis; } .dv { width: 100%; height:4px; line-height:4px; background-color:#135AA4; position:absolute; left:0; top:33px; } .activeTab { color:#fff; border-color:#135AA4; background-color:#135AA4; background: -moz-linear-gradient(center top , rgb(25, 111, 198), rgb(19, 91, 165)) repeat scroll 0% 0% transparent; } </style> </head> <body> <div class="dvTab"> <ul class="menu"> <li class="tab">首页</li> <li class="tab">通讯录</li> <li class="tab activeTab">应用中心</li> <li class="tab">收件箱</li> <li class="tab">写信</li> </ul> <div class="dv"></div> </div> </body> </html>
相关文章推荐
- CSS滑动门技术实现TAB标签切换效果实例,支持各种浏览器
- DIV+CSS实现放大镜效果的分页样式
- jQuery实现的网页右下角tab样式在线客服效果代码
- CSS滑动门技术实现TAB标签切换效果实例,支持各种浏览器
- JS+CSS实现的不规则TAB选项卡效果
- jquery实现隔行变色,点击换色,鼠标悬浮当前行变色效果,div+css 细表格样式
- CSS特殊样式(六) box-shadow实现纸张的曲线投影效果
- 37个Ajax和CSS实现的Tab选项卡切换效果界面
- css 简单的样式实现效果
- 纯css实现tab切换效果
- 37个Ajax和CSS实现的Tab选项卡切换效果界面
- DIV+CSS实现放大镜效果的分页样式
- 37个Ajax和CSS实现的Tab选项卡切换效果界面
- 37个Ajax和CSS实现的Tab选项卡切换效果界面
- js+css实现tab菜单切换效果的方法
- 37个Ajax和CSS实现的Tab选项卡切换效果界面
- Css实现tab标签效果(一)----------内容为静态的div
- js+css实现tab菜单切换效果的方法
- 纯DIV+CSS简单实现Tab选项卡左右切换效果
- 纯CSS实现Tab切换标签效果代码