CSS3仿GooglePlay菜单
来源:互联网 发布:java自行车是高端的吗 编辑:程序博客网 时间:2024/05/29 04:45
CSS3仿GooglePlay菜单
<html>
<head>
<!--gbk,gb2312 中文编码-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--页面三要素-->
<title>CSS3仿GooglePlay菜单</title>
<meta name="keywords" content="关键字,关键字" />
<meta name="description" content="描述" />
<!--js css-->
<style type="text/css">
body{background:#E5E5E5;}
ul,li{margin:0;padding:0;}
nav{width:200px;height:300px;background:rgba(245,245,245,0.95);box-shadow:0px 1px 6px #bebebe;margin:30px 0 0 200px;}
nav ul li{list-style:none;height:50px; position:relative;}
nav ul li a{color:#666;text-decoration:none;font-size:14px; position:absolute;left:60px;top:18px;width:140px; display:block;}
nav ul li a:hover{color:#fff;}
nav ul li:hover{width:200px;
/*transition-property:all;
transition-duration:0.4s;
transition-timing-function:ease;
transition-delay:0s;*/
transition:all ease 0.4s 0s;
}
.store{width:50px;height:50px;background:#B3C833;}
.movies{width:50px;height:50px;background:#CE5043;}
.music{width:50px;height:50px;background:#FB8521;}
.books{width:50px;height:50px;background:#1AA1E1;}
.magazines{width:50px;height:50px;background:#5E5CA6;}
.devices{width:50px;height:50px;background:#658092;}
nav ul li span.store_icon{position:absolute;left:10px;top:12px;width:26px;height:26px;background:url(images/icoa1.png) no-repeat;}
nav ul li span.movies_icon{position:absolute;left:10px;top:12px;width:26px;height:26px;background:url(images/icoa2.png) no-repeat;}
nav ul li span.music_icon{position:absolute;left:10px;top:12px;width:26px;height:26px;background:url(images/icoa3.png) no-repeat;}
nav ul li span.books_icon{position:absolute;left:10px;top:12px;width:26px;height:26px;background:url(images/icoa4.png) no-repeat;}
nav ul li span.magazines_icon{position:absolute;left:10px;top:12px;width:26px;height:26px;background:url(images/icoa5.png) no-repeat;}
nav ul li span.devices_icon{position:absolute;left:10px;top:12px;width:26px;height:26px;background:url(images/icoa6.png) no-repeat;}
</style>
</head>
<body>
<nav>
<ul>
<Li class="store"><span class="store_icon"></span><a href="#">首页</a></Li>
<Li class="movies"><span class="movies_icon"></span><a href="#">影视</a></Li>
<Li class="music"><span class="music_icon"></span><a href="#">音乐</a></Li>
<Li class="books"><span class="books_icon"></span><a href="#">图书</a></Li>
<Li class="magazines"><span class="magazines_icon"></span><a href="#">记事</a></Li>
<Li class="devices"><span class="devices_icon"></span><a href="#">设备</a></Li>
</ul>
</nav>
</body>
</html>
0 0
- CSS3仿GooglePlay菜单
- 高仿GooglePlay(一)
- CSS3仿移动淘宝左下角扇形菜单效果
- CSS3 仿古墓丽影9菜单界面
- 仿QQ菜单----三级菜单
- ViewPager使用2-ViewPager+顶部HorizontalScrollView+Fragment-仿GooglePlay 顶部可滑动效果
- CSS3 下拉菜单按钮
- CSS3菜单按钮
- CSS3制作下拉菜单
- css3导航下拉菜单
- css3扇形菜单
- CSS3实现立体菜单
- CSS3实现二级菜单
- CSS3扇形动画菜单
- CSS3 二级菜单
- CSS3 翻滚吧 菜单
- 仿QQ导航菜单
- 仿FLASH菜单
- C中的volatile用法
- 主流浏览器CSS3和HTML5兼容性详细清单
- 七月建博展你来不来,不来你亏了!
- Linux 下鼠标对应的文件
- 黑马程序员--关于一些错误的解决办法
- CSS3仿GooglePlay菜单
- 替换空格
- NetConf协议说明
- js淘宝局部放大效果
- 鼠标放上去Div旋转特效代码
- 纯JS+html5新标签canvas绘制与本地时间同步时针
- Count Complete Tree Nodes
- 【深度探索C++对象模型读书笔记】【第4章】Function语意学
- RMAN完整数据库备份恢复