jquery简约挂钟时钟时间效果代码
代码语言:html
所属分类:其他
代码描述:jquery简约挂钟时钟时间效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
*, *:before, *:after {
box-sizing: border-box;
}
html {
height:100%;
}
body {
background: radial-gradient(center center, circle cover, #c9c2b6, #7a726f);
background: -moz-radial-gradient(center center, circle cover, #c9c2b6 0%, #7a726f 100%);
background: -webkit-radial-gradient(center center, circle cover, #c9c2b6 0%, #7a726f 100%);
font-family: Arial, helvetica, 'sans';
}
.clock {
width:193px;
height:193px;
border-radius:50%;
margin:auto;
position:absolute;
top:0; right:0; bottom:0; left:0;
background:#f0f1e9;
box-shadow: 0 10px 20px rgba(0,0,0,0.2), inset 0 3px 0 rgba(255,255,255,0.5), inset 0 -4px 0 rgba(0,0,0,0.1), 0 2px 5px rgba(0,0,0,0.2);
/* background: linear-gradient(top, #f0f1e9, #f0f1e9 100%);*/
}
.clock::before {
content:'';
width:130px;
height:130px;
position:absolute;
margin:auto;
top:0; right:0; bottom:0; left:0;
border-radius:50%;
background: -webkit-linear-gradient(top, #e9eae2, #f5f5ec 100%);
background: -moz-linear-gradient(top, #e9eae2, #f5f5ec 100%);
background: linear-gradient(top, #e9eae2, #f5f5ec 100%);
}
.numbers, clockwise {.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0