css实现一个全屏菜单弹出动画效果代码
代码语言:html
所属分类:菜单导航
代码描述:css实现一个全屏菜单弹出动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
@import url(https://fonts.googleapis.com/css?family=Lato);
body,
html {
background-color: #14213D;
height: 100%;
width: 100%;
padding: 0;
margin: 0;
font-family: 'Lato', sans-serif;
}
.nav {
position: relative;
width: auto;
display: inline-block;
border: none;
}
.btn-nav {
position: fixed;
top: 50px;
left: 30px;
background: transparent;
border: none;
padding: 10px;
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-ms-transition: all .5s ease;
-o-transition: all .5s ease;
transition: all .5s ease;
cursor: pointer;
z-index: 99999;
}
.btn-nav:focus {
outline: 0;
}
.icon-bar {
display: block;
margin: 6px 0;
width: 40px;
height: 5px;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0