jquery+css实现右侧悬浮导航全屏章节滚动页面代码
代码语言:html
所属分类:其他
代码描述:jquery+css实现右侧悬浮导航全屏章节滚动页面代码,右侧按钮悬浮伸缩后可点击滚动页面到相应的位置显示。
代码标签: jquery css 右侧 悬浮 导航 全屏 章节 滚动 页面 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/modernizr.2.8.3.js"></script>
<style>
body {
font-family: "microsoft yahei"
}
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,main {
display: block
}
body {
line-height: 1
}
ol,ul {
list-style: none
}
blockquote,q {
quotes: none
}
blockquote:before,blockquote:after,q:before,q:after {
content: '';
content: none
}
table {
border-collapse: collapse;
border-spacing: 0
}
*,*::after,*::before {
box-sizing: border-box
}
html {
font-size: 62.5%
}
body {
font-size: 1.6rem;
font-family: "Sintony",sans-serif;
color: #eaf2e3;
background-color: #3a2c41;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale
}
a {
color: #c0a672;
text-decoration: none
}
.cd-image-replace {
display: inline-block;
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
color: transparent
}
.cd-nav-trigger {
display: block;
position: fixed;
z-index: 2;
bottom: 30px;
right: 5%;
height: 44px;
width: 44px;
border-radius: .25em;
backg.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0