div+css实现7种导航条菜单弹出方式动画效果代码
代码语言:html
所属分类:菜单导航
代码描述:div+css实现7种导航条菜单弹出方式动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background: #4481AA;
color: #fff;
font: normal 300 16px/1.5 "Open Sans", sans-serif;
}
.container {
position: fixed;
z-index: 2;
width: 100%;
min-height: 100%;
padding: 30px 50px;
background: #4481AA;
-webkit-transition: -webkit-transform 0.5s;
-webkit-backface-visibility: hidden;
}
.containerOverlay {
display:none;
background: rgba(0,0,0,.3);
}
.containerOverlay,
.containerOverlay a {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
/* Type and Buttons */
h1 {
font-weight: 300;
}
.button {
display: block;
float: left;
clear: left;
margin-bottom: 16px;
padding: 0 10px;
background: #2A6791;
color: #fff;
border-bottom: 2px solid #154464;
border-radius: 2px;
text-decoration: none;
line-height: 40px;
}
/* N.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0