jquery实现炫酷单页导航切换动画效果代码
代码语言:html
所属分类:菜单导航
代码描述:jquery实现炫酷单页导航切换动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
font-family: "Open Sans", sans-serif;
font-weight: 300;
background-image: linear-gradient( 135deg, #2AFADF 10%, #4C83FF 100%);
}
ul {
list-style: none;
padding: 0;
margin: 0
}
li {
list-style: none
}
.inline-block {
display: inline-block
}
.act-table {
display: table
}
.act-table-cell {
display: table-cell
}
a,
a:hover,
a:focus,
a:active {
text-decoration: none;
color: inherit
}
.text-center {
text-align: center
}
.text-left {
text-align: left
}
.text-right {
text-align: right
}
.pull-right {
float: right
}
.pull-left {
float: left
}
.ver-middle {
vertical-align: middle
}
header {
position: fixed;
top: 8px;
left: 0;
right: 0;
z-index: 100;
transition: 1s;
-webkit-transition: 1s;
-moz-transition: 1s
}
header.go-out {
top: -150px
}
header nav ul {
background-color: rgba(255, 255, 255, 0.2);
overflow: hidden;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px
}
header nav ul li {
color: #fff
}
header nav ul li a {
width: 100px;
max-width: 150px;
height: 32px;
display: block;
padding-top: 13px
}
header nav ul li.active a,
header nav ul li.active a:hover {
background-color: rgba(255, 255, 255, 0.2)
}
header nav ul li:hover a {
background-color: rgba(255, 255, 255, 0.1)
}
.page {
background-color: rgba(0, 0, 0, 0.2)
}
.page .act-table {
width: 100%;
height: 100%
}
.page .act-table .act-table-cell {
font-size: 1.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0