jquery饼状图倒计时特效

代码语言:html

所属分类:动画

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title>CSS Jquery Pie Countdown Timer</title>
    <style>
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300);
        body {
            font-family: 'Open Sans', sans-serif;
            font-weight: 300;
            background: #b4f2ea;
            padding:10em;
        }

        .pie {
            width: 250px;
            height: 250px;
            display: block;
            position: relative;
            border-radius: 50%;
            background-color: #1fbba6;
            border: 2px solid #1fbba6;
            float: left;
      
        }
        .pie .block {
            position: absolute;
            background: #fff;
            width: 230px;
            height: 230px;
            display: block;
            border-radius: 50%;
            top: 10px;
            left: 10px;
        }

        #time {
            font-size: 3em;
            position: absolute;
            top: 35%;
            left: 43%;
            color: #999999;
        }

        .degree {
            /*90 + ( 360 * .1 )*/
            background-image: linear-gradient(90deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
        }

    </style>

</head>
<body translate="no">
    <div class="pie degree">
        <span class="block.........完整代码请登录后点击上方下载按钮下载查看

网友评论0