jquery实现的文章阅读滚动进度条导航效果代码
代码语言:html
所属分类:菜单导航
代码描述:jquery实现的文章阅读滚动进度条导航效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/reset.min.css">
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Open+Sans:300,400|Merriweather:300'>
<style>
*, *:before, *:after {
box-sizing: border-box;
}
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix {
*zoom: 1;
}
body {
background-color: #D6E1E5;
color: #6B7072;
font-size: 100%;
margin-bottom: 10em;
}
@media only screen and (min-width: 700px) {
body {
font-size: 110%;
}
}
@media only screen and (min-width: 800px) {
body {
font-size: 120%;
}
}
h1, h2, p {
padding: 0 50px;
line-height: 1.75;
margin: 0 auto;
max-width: 1100px;
}
@media only screen and (min-width: 800px) {
h1, h2, p {
padding: 0 100px;
}
}
h1, h2 {
font-family: 'Open Sans';
font-weight: 300;
font-size: 250%;
line-height: 1.5;
}
h1 {
margin-top: 1.5em;
margin-bottom: 1.5em;
color: #DB5B33;
}
h2 {
margin-top: 2em;
margin-botttom: 1em;
color: #4598B5;
}
p {
font-family: 'Merriweather';
font-weight: 300;
font-size: 100%;
margin-top: 2em;
margin-bottom: 2em;
}
a {
color: #2d2f30;
text-decoration: underline;
transition: color .........完整代码请登录后点击上方下载按钮下载查看
















网友评论0