20多款环形进度条效果代码

代码语言:html

所属分类:进度条

代码描述:20多款环形进度条效果代码

代码标签: 进度 效果

下面为部分代码预览,完整代码请点击下载或在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">


<link rel="stylesheet" type="text/css" href="css/default.css">

<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.knob.js"></script>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.throttle.js"></script>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.classycountdown.js"></script>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/jquery.classycountdown.css">
<style>
	.ClassyCountdownDemo { margin:0 auto 30px auto; max-width:800px; width:calc(100%); padding:30px; display:block }
	#countdown2 { background:#FFF }
	#countdown3 { background:rgb(52, 73, 94) }
	#countdown4 { background:#222 }
	#countdown5 { background:#222 }
	#countdown6 { background:#222 }
	#countdown7 { background:#222 }
	#countdown8 { background:#222 }
	#countdown9 { background:#FFF }
	#countdown10 { background:#3498db }
</style>
<!--[if IE]>
<script src="http://libs.baidu.com/html5shiv/3.7/html5shiv.min.js"></script>
<![endif]-->
</head>
<body>

<div id="countdown2" class="ClassyCountdownDemo"></div>
<div id="countdown4" class="ClassyCountdownDemo"></div>
<div id="countdown3" class="ClassyCountdownDemo"></div>
<div id="countdown10" class="ClassyCountdownDemo"></div>
<div id="countdown9" class="ClassyCountdownDemo"></div>
<div id="countdown15" class="ClassyCountdownDemo"></div>
<div id="countdown16" class="ClassyCountdownDemo"></div>
<div id="countdown17" class="ClassyCountdownDemo"></div>
<div id="countdown18" class="ClassyCountdownDemo"></div>
<div id="countdown5" class="ClassyCountdownDemo"></div>
<div id="countdown6" class="ClassyCountdownDemo"></div>
<div id="countdown7" class="ClassyCountdownDemo"></div>
<div id="countdown8" class="ClassyCountdownDemo"></div>
<div id="countdown11" class="ClassyCountdownDemo"></div>
<div id="countdown12" class="ClassyCountdownDemo"></div>
<div id="countdown13" class="ClassyCountdownDemo"></div>
<div id="countdown14" class="ClassyCountdownDemo"></div>

<script type="text/javascript">
$(document).ready(function() {
	$('#countdown15').ClassyCountdown({
		theme: "flat-colors",
		end: $.now() + 10000
	});
	$('#countdown16').ClassyCountdown({
		theme: "flat-colors-wide",
		end: $.now() + 10000
	});
	$('#countdown17').ClassyCountdown({
		theme: "flat-colors-very-wide",
		end: $.now() + 10000
	});
	$('#countdown18').ClassyCountdown({
		theme: "flat-colors-black",
		end: $.now() + 10000
	});
	$('#countdown1').ClassyCountdown({
		theme: "white",
		end: $.now() + 645600
	});
	$('#countdown5').ClassyCountdown({
		theme: "white",
		end: $.now() + 10000
	});
	$('#countdown6').ClassyCountdown({
		theme: "white-wide",
		end: $.now() + 10000
	});
	$('#countdown7').ClassyCountdown({
		theme: "white-very-wide",
		end: $.now() + 10000
	});
	$('#countdown8').ClassyCountdown({
		theme: "white-black",
		end: $.now() + 10000
	});
	$('#countdown11').ClassyCountdown({
		theme: "black",
		style: {
			secondsElement: {
				gauge: {
					fgColor: "#F00"
				}
			}
		},
		end: $.now() + 10000
	});
	$('#countdown12').ClassyCountdown({
		theme: "black-wide",
		labels: false,
		end: $.now() + 10000
	});
	$('#countdown13').ClassyCountdown({
		theme: "black-very-wide",
		labelsOptions: {
			lang: {
				days: 'D',
				hours: 'H',
				minutes: 'M',
				seconds: 'S'
			},
			style: 'font-size:0.5em; text-transform:uppercase;'
		},
		end: $.now() + 10000
	});
	$('#countdown14').ClassyCountdown({
		theme: "black-black",
		labelsOptions: {
			style: 'font-size:0.5em; text-transform:uppercase;'
		},
		end: $.now() + 10000
	});
	$('#countdown4').ClassyCountdown({
		end: $.now() + 10000,
		labels: true,
		style: {
			element: "",
			textResponsive: .5,
			days: {
				gauge: {
					thickness: .03,
					bgColor: "rgba(255,255,255,0.05)",
					fgColor: "#1abc9c"
				},
				textCSS: 'font-family:\'Open Sans\'; font-size:25px; font-weight:300; color:#fff;'
			},
			hours: {
				gauge: {
					thickness: .03,
					bgColor: "rgba(255,255,255,0.05)",
					fgColor: "#2980b9"
				},
				textCSS: 'font-family:\'Open Sans\'; font-size:25px; font-weight:300; color:#fff;'
			},
			minutes: {
				gauge: {
					thickness: .03,
					bgColor: "rgba(255,255,255,0.05)",
					fgColor: "#8e44ad"
				},
				textCSS: 'font-family:\'Open Sans\'; font-size:25px; font-weight:300; color:#fff;'
			},
			seconds: {
				gauge: {
					thickness: .03,
					bgColor: "rgba(255,255,255,0.05)",
					fgColor: "#f39c12"
				},
				textCSS: 'font-family:\'Open Sans\'; font-size:25px; font.........完整代码请登录后点击上方下载按钮下载查看

网友评论0