支持键盘快捷键操作的全屏菜单弹出动画效果代码
代码语言:html
所属分类:菜单导航
代码描述:支持键盘快捷键操作的全屏菜单弹出动画效果代码,使用了mousetrap与classie。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.css">
<style>
@import url(http://fonts.googleapis.com/css?family=Lato:300,400);
.clearfix:after {
clear:both;
}
.clearfix:before,.clearfix:after {
content:'';
display:table;
}
*,*:after,*:before {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
ul li {
list-style:none;
}
body {
background:#fff;
color:#fff;
line-height:1.25;
font-family:'Lato','Avenir Next',Arial,sans-serif;
-webkit-font-smoothing:antialiased;
text-rendering:optimizeLegibility;
}
a {
color:#2dbaef;
text-decoration:none;
outline:none;
}
a:hover,a:focus {
color:#373e18;
}
.CMD_header {
margin:0 auto;
padding:1.5em 0em 1.5em;
text-align:center;
background:#363e49;
position:fixed;
width:100%;
}
.CMD_header h1 a {
color:#707980;
-webkit-transition:color 0.2s;
transition:color 0.2s;
}
h2.aftheader {
font-weight:400;
color:#707980;
font-size:16px;
ma.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0