日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > CSS >内容正文

CSS

android 时钟进度条,CSS3时钟式进度条

發布時間:2025/4/16 CSS 51 豆豆
生活随笔 收集整理的這篇文章主要介紹了 android 时钟进度条,CSS3时钟式进度条 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

/p>

Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

CSS3時鐘式進度條

http-equiv="content-type" content="text/html;charset=gb2312">

#cricle{200px;height:200px;position:relative;background:#333;overflow:hidden}

#cricle

.left,#cricle .right,#cricle .text{200px;height:200px}

#cricle

.text{position:absolute;top:0;left:0;z-index:41;color:#fff;font:26px/200px

'arial';text-align:center}

#cricle .mask{z-index:40}

#cricle .mask,#cricle

.bg{100px;height:200px;background:#333;position:absolute;top:0}

#cricle

.bg{background:url(/jscss/demoimg/201207/bg_green.png) no-repeat 0 0}

#cricle

.mask,#cricle .left .bg{left:0}

#cricle .right{display:none}

#cricle

.right .bg{background-position:right

top;right:0}

id="cricle">

class="left">

class="bg">

class="right">

class="bg">

class="text">

var C = function(id){

this.box =

$("#"+id);

this.left = this.box.find(".left");

this.right =

this.box.find(".right");

this.mask =

this.box.find(".mask");

this.text =

this.box.find(".text");

this.d = 0;

this.A =

null;

this.init();

}

C.prototype = {

init :

function(){

var T = this;

this.A =

window.setInterval(function(){T.change()},80);

},

change :

function(){

var T =

this;

if(this.d>180){

if(this.d>360){

window.clearInterval(this.A);

this.A

=

null;

return;

}

this.right.show();

this.mask.hide();

}

this.text.text(parseInt(this.d/3.6));

this.left.css({

"-webkit-transform":"rotate("+this.d+"deg)",

"-moz-transform":"rotate("+this.d+"deg)"

})

this.d

+= 6;

}

}

new

C("cricle");

總結

以上是生活随笔為你收集整理的android 时钟进度条,CSS3时钟式进度条的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。