整合營銷服務商

          電腦端+手機端+微信端=數據同步管理

          免費咨詢熱線:

          轉譯-使用 HTML、CSS 和 JavaScrip

          轉譯-使用 HTML、CSS 和 JavaScript 制作數字發光時鐘

          家我呀,我是yangyang,此刻看到一個小特效,是國外一哥們做的,特來分享給大家.

          效果介紹

          數字時代,數字發光時鐘體現了形式與功能的融合。在這篇文章中,我們將深入研究如何使用 HTML、CSS 和 JavaScript 來構建一個。

          HTML

          構建一個結構化基礎,其中包含小時、分鐘、秒和可選的 AM/PM 指示器元素??稍L問性至關重要,因此我們將使用語義標簽并提供有意義的描述。

          <!DOCTYPE html>
          <html lang="zh-cn">
            <head>
              <meta charset="UTF-8" />
              <meta name="viewport" content="width=device-width, initial-scale=1.0" />
              <title>Digital clock</title>
              <link rel="stylesheet" href="css/style.css" />
            </head>
            <body>
              <div class="hero">
                <div class="box">
                  <style></style>
                  <div class="clock">
                    <span id="hrs">00</span>
                    <span>:</span>
                    <span id="min">00</span>
                    <span>:</span>
                    <span id="sec">00</span>
                  </div>
                </div>
              </div>
              <script src="js/index.js"></script>
            </body>
          </html>
          

          css

          利用 box-shadow 和 text-shadow 等屬性,我們將為時鐘注入活力。通過微調顏色和發光強度,我們將確保它吸引用戶。

          * {
            margin: 0;
            padding: 0;
            font-family: "Poppins", sans-serif;
            box-sizing: border-box;
          }
          .hero {
            width: 100%;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #2f363e;
            position: relative;
          }
          .box {
            position: relative;
            width: 800px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
          }
          .clock {
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(40px);
            color: #6e7f92f6;
            z-index: 10;
          }
          .clock span {
            font-size: 80px;
            width: 110px;
            display: inline-block;
            text-align: center;
            position: relative;
          }
          .clock span::after {
            font-size: 16px;
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
          }
          #hrs::after {
            content: "HOURES";
            color: #0f0;
            font-weight: 600;
            margin-bottom: -10px;
          }
          #min::after {
            content: "MINS";
            color: #0ff;
            font-weight: 600;
            margin-bottom: -10px;
          }
          #sec::after {
            content: "SEC";
            color: #ff0;
            font-weight: 600;
            margin-bottom: -10px;
          }
          
          /*------Anemated Border---------*/
          .box::before {
            content: "";
            position: absolute;
            inset: 0;
            background: repeating-conic-gradient(
              from var(--a),
              #0f0,
              #ff0,
              #0ff,
              #f0f,
              #0ff
            );
            border-radius: 20px;
            animation: rotate 6s linear infinite;
          }
          .box::after {
            content: "";
            position: absolute;
            inset: 0;
            background: repeating-conic-gradient(
              from var(--a),
              #0f0,
              #ff0,
              #0ff,
              #f0f,
              #0ff
            );
            border-radius: 20px;
            animation: rotate 4s linear infinite;
            filter: blur(40px);
            opacity: 0.75;
          }
          .box style {
            position: absolute;
            inset: 4px;
            background: #2f363e;
            border-radius: 16px;
            color: #ff0;
            font-size: 20px;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
          }
          @property --a {
            syntax: "<angle>";
            inherits: false;
            initial-value: 0deg;
          }
          @keyframes rotate {
            0% {
              --a: 0;
            }
            0% {
              --a: -360deg;
            }
          }

          js

          JavaScript 為我們的時鐘注入了活力,實現了小時、分鐘和秒的實時更新。我們還將考慮添加時區支持和用戶偏好的自定義選項等功能。

          么是Canvas

          <canvas> 是HTML中的一個元素,它可被用來通過 JavaScript(Canvas API 或 WebGL API)繪制圖形及圖形動畫。

          Canvas API 提供了一個通過 JavaScriptHTML<canvas> 元素來繪制圖形的方式。它可以用于動畫、游戲畫面、數據可視化、圖片編輯以及實時視頻處理等方面。

          <canvas>標簽本身沒有繪圖能力,它僅僅是圖形的容器。在HTML,一般通過Javascript語言來完成實際的操作。

          創建HTML頁面并添加繪圖容器

          本文通過Javascript操作Canvas制作一個簡單的顯示當前時間的動畫時鐘,了解和學習簡單的canvas用法,僅以拋磚引玉。

          首先創建一個HTML文件,為了方便管理,使用一個div標簽包裹兩個canvas標簽,并加上一些簡單的css樣式。

          <!doctype html>
          <html lang="zh-cn">
          <head><title>Canvas繪制動畫時鐘</title>
          <style>
          html,body{margin:0;padding:0}
          #clockWrap {
          	position: relative;
          }
          canvas {
          	position: absolute;
          }
          #clock-ui {
          	z-index: 2;
          }
          #clock-plate {
          	z-index: 1;
          }
          </style>
          </head>
          <body>
            <div id="clockWrap">
            <canvas id="clock-plate"></canvas>
            <canvas id="clock-ui"></canvas>
          </div>
          <script></script>
          </body></html>

          本示例中使用了兩個canvas標簽(為什么使用兩個,一個不是更簡單嗎?),一個用于繪制鐘面,一個根據當前時間實時顯示和更新時針、分針和秒針的動態指向。好了,話不多說,開干。

          繪制鐘面刻度

          一個簡單的時鐘,可以分為鐘面上的刻度和指針。其中刻度和12個數字是固定的,我們可以將它們繪制在當作背景的canvas上(示例中id為clock-plate的canvas)。

          (1)要使用canvas,首先必須通過容器獲取渲染上下文:

          var $=function(id){return document.querySelector(id);}//這個函數只是為了方便獲取dom元素
          const canvasbg=$("#clock-plate"),
                canvas=$("#clock-ui"),
                ctx=canvasbg.getContext("2d"),//背景容器上下文
                ctxUI=canvas.getContext("2d");//指針容器上下文,后面代碼要用
          //定義畫布寬度和高度,時鐘圓直徑,并設置畫布大小
          const oW=1000,oH=800,cW=400,r=cW/2,oX=oW/2,oY=oH/2;
          canvas.width=oW;
          canvas.height=oH;
          canvasbg.width=oW;
          canvasbg.height=oH;

          (2)畫鐘的邊框,為了好看,這里畫兩個圈:

           //畫出時鐘外圓框
            ctx.lineWidth=12;
          	ctx.beginPath();
          	ctx.arc(oX, oY, r+14, 0, 2 * Math.PI);
          	ctx.stroke();
          	ctx.closePath();
          	ctx.lineWidth=8;
          	//畫出時鐘內圓框(刻度圈)
          	ctx.beginPath();
          	ctx.arc(oX, oY, r, 0, 2 * Math.PI);
          	ctx.stroke();
          	ctx.closePath();
          	ctx.beginPath();

          邊框效果圖

          (3)繪制刻度線和數字,可以利用三角函數計算出每個刻度的坐標:

          利用三角函數計算刻度線的坐標位置

          鐘面上有12個大格,從正上方12開始,它們的度數分別是270,300,330,0,30,60,90,120,150,180,210,240。然后利用JS的Math.sin和Math.cos分別計算出各大格的坐標。注意:js中Math.sin()和Math.cos()的參數不是角度數弧度。可以使用Math.PI/180*角度來轉化,比如將30度轉換成弧度=Math.PI/180*30

          //繪制鐘表中心點
          	ctx.beginPath();
          	ctx.arc(oX, oY, 8, 0, 2 * Math.PI);//圓心
          	ctx.fill();
          	ctx.closePath();
          	//設置刻度線粗細度
          	ctx.lineWidth=3;
          	//設置鐘面12個數字的字體、大小和對齊方式
          	ctx.font="30px serif";
          	ctx.textAlign="center";
          	ctx.textBaseline="middle";
          	var kdx,kdy;
          	//繪制12個大刻度和12個數字
          	//為方便計算,先定義了0-11這12個刻度對應的度數,也可以直接定義對應的弧度。
          	const hd=Math.PI/180,degr=[270,300,330,0,30,60,90,120,150,180,210,240];
          	for(var i=0;i<12;i++){
          		kdx=oX+Math.cos(hd*degr[i])*(r-3);
          		kdy=oY+Math.sin(hd*degr[i])*(r-3);
          		ctx.beginPath();
          		ctx.arc(kdx, kdy, 6, 0, 2 * Math.PI);//畫圓形大刻度
          		ctx.fill();
              //繪制刻度對應的數字
          		ctx.strokeText(i==0? 12 : i,oX+Math.cos(hd*degr[i])*(r-24),oY+Math.sin(hd*degr[i])*(r-24));
          		ctx.closePath();
          	}
          	
          	//繪制小刻度
          	ctx.lineWidth=2;
          	for(var i=0;i<60;i++){
          		if(i % 5==0) continue;//跳過與刻度重疊的刻度
          		x0=Math.cos(hd*i*6);
          		y0=Math.sin(hd*i*6);
          		ctx.beginPath();
          		ctx.moveTo(oX+x0*(r-10), oY+y0*(r-10)); 
          		ctx.lineTo(oX+x0*r, oY+y0*r); //畫短刻度線
          		ctx.stroke(); 
          		ctx.closePath();
          	}

          效果如圖:

          鐘面效果圖

          (4)根據當前時間繪制指針

          習慣上,時針粗短,分針略粗而長,秒針細長。為加大區別,示例中秒針細長并且繪制成紅色。

          function drawHp(i){//繪制時針
          	const x0=Math.cos(hd*i*30),y0=Math.sin(hd*i*30);
          	drawPointer(oX,oY,oX+x0*(r-90),oY+y0*(r-90),10,"#000000");
          }
          function drawMp(i){//繪制分針
          	const x0=Math.cos(hd*i*6),y0=Math.sin(hd*i*6);
          	drawPointer(oX,oY,oX+x0*(r-60),oY+y0*(r-60),5,"#000000");
          }
          function drawSp(i){//繪制秒針
          	const x0=Math.cos(hd*i*6),y0=Math.sin(hd*i*6);
          	drawPointer(oX,oY,oX+x0*(r-20),oY+y0*(r-20),2,"#FF0000");
          }
          //抽取出繪制三種指針時共同的部分,注意指針繪制在渲染上下文ctxUI中
          function drawPointer(ox,oy,tx,ty,width,color){
          	ctxUI.strokeStyle=color;
          	ctxUI.lineCap="round";
          	ctxUI.lineWidth=width;
          	ctxUI.beginPath();
          	ctxUI.moveTo(ox, oy);
          	ctxUI.lineTo(tx,ty);
          	ctxUI.stroke();
          	ctxUI.closePath();
          }

          現在已經有了繪制三種指針的方法,參數是當前時間的時、分和秒,將根據它們的值確定指針的坐標。不過,因為使用的是默認的convas坐標體系,0值實際指向3的位置,需要小小的修正一下。

          window.requestAnimationFrame(function fn(){
          		var d=new Date();
          		ctxUI.clearRect(0,0,oW,oH);
          		//度數從0開始,而0在3刻度(15分/秒位置),修正為全值減15,如果小于0則修正回來
              var hour=d.getHours(),minute=d.getMinutes()-15,second=d.getSeconds()-15;
          		hour=hour>11? hour-15 : hour-3;
          		drawHp(hour>=0? hour : 12+hour);
          		drawMp(minute>=0? minute : 60+minute);
          		drawSp(second>=0? second : 60+second);
          		window.requestAnimationFrame(fn);
          });

          接下來,調用window.requestAnimationFrame,在其中繪制并更新指標的位置??纯葱Ч绾危?/p>

          指針繪制情況與實際時間相符

          貌似效果有了,截圖時電腦上的時間是10時17分,指針繪制上,時針指向10時,分針指向17。嗯,感覺有點別扭?對了,時針和分針怎么是端端正正地指向它們的整時整分刻度上呢?實際鐘表上時針和分針是展示動態進度的,此時時針應該越過10時的位置才對。沒關系,我們在繪制時針和分針時別點東西,讓它的角度值加上分針和秒針的值試試。

          //修改后的繪制三種指針的方法
          function drawHp(i,f,m){//繪制時針,參數:時,分,秒
          	const x0=Math.cos(hd*(i+(f/60)+(m/600))*30),y0=Math.sin(hd*(i+(f/60)+(m/600))*30);
          	drawPointer(oX,oY,oX+x0*(r-90),oY+y0*(r-90),10,"#000000");
          }
          function drawMp(i,f){//繪制分針,參數,分,秒
          	const x0=Math.cos(hd*(i+(f/60))*6),y0=Math.sin(hd*(i+(f/60))*6);
          	drawPointer(oX,oY,oX+x0*(r-60),oY+y0*(r-60),5,"#000000");
          }
          function drawSp(i){//繪制秒針
          	const x0=Math.cos(hd*i*6),y0=Math.sin(hd*i*6);
          	drawPointer(oX,oY,oX+x0*(r-20),oY+y0*(r-20),2,"#FF0000");
          }

          再來看看效果,嗯,立竿見影呀:

          指針指向更合理了

          到此為止,canvas繪制一個簡易時鐘就完成了。下面繼續優化一下。剛才使用requestAnimationFrame方法即時更新繪制情況。這個方法與刷新率有關,看看mdn上面怎么說的:

          window.requestAnimationFrame() 方法會告訴瀏覽器你希望執行一個動畫。它要求瀏覽器在下一次重繪之前,調用用戶提供的回調函數。

          對回調函數的調用頻率通常與顯示器的刷新率相匹配。雖然 75hz、120hz 和 144hz 也被廣泛使用,但是最常見的刷新率還是 60hz(每秒 60 個周期/幀)。為了提高性能和電池壽命,大多數瀏覽器都會暫停在后臺選項卡或者隱藏的 <iframe> 中運行的 requestAnimationFrame()。

          本示例中,更新指針的位置并不需要很高的刷新頻率,可以通過節流進行一下優化:

          var fps=5, fpsInterval=1000 / fps,lastTime=new Date().getTime(); //記錄上次執行的時間
          function runStep() {
              requestAnimationFrame(runStep);
              var d=new Date(),now=d.getTime()
              var elapsed=now - lastTime;
              if (elapsed > fpsInterval) {
          				ctxUI.clearRect(0,0,oW,oH);
                  lastTime=now - (elapsed % fpsInterval); 
          			//度數從0開始,而0在3刻度(15分/秒位置),修正為全值-15,如果小于0則用60減回
                  var hour=d.getHours(),minute=d.getMinutes()-15,second=d.getSeconds()-15;//console.log(d.getSeconds(),second);
                  hour=hour>11? hour-15 : hour-3;
                  drawHp(hour>=0? hour : 12+hour,minute+15,second+15);
                  drawMp(minute>=0? minute : 60+minute,second+15);
                  drawSp(second>=0? second : 60+second);
              }
          }
          runStep();

          當然,實現時鐘的方法是很多,比如可以使用畫布的旋轉(rotate方法)來實現指針的動態轉動等等。

          完整HTML+JS源碼:

          i,大家好,我是拾光。

          今天給大家帶來的就是CSS實現時鐘走動的效果。

          大家后續可以配合js來實現與系統的時間同步。

          下面給大家貼素材圖:



          下面是效果圖:

          HTML:

          <body>

          <div class="container">

          <div id="clock">

          <div class="secs">

          <div id="s1"></div>

          <div id="s2"></div>

          <div id="s3"></div>

          <div id="s4"></div>

          <div id="s5"></div>

          <div id="s6"></div>

          <div id="s7"></div>

          <div id="s8"></div>

          <div id="s9"></div>

          <div id="s10"></div>

          <div id="s11"></div>

          <div id="s12"></div>

          <div id="s13"></div>

          <div id="s14"></div>

          <div id="s15"></div>

          <div id="s16"></div>

          <div id="s17"></div>

          <div id="s18"></div>

          <div id="s19"></div>

          <div id="s20"></div>

          <div id="s21"></div>

          <div id="s22"></div>

          <div id="s23"></div>

          <div id="s24"></div>

          <div id="s25"></div>

          <div id="s26"></div>

          <div id="s27"></div>

          <div id="s28"></div>

          <div id="s29"></div>

          <div id="s30"></div>

          <div id="s31"></div>

          <div id="s32"></div>

          <div id="s33"></div>

          <div id="s34"></div>

          <div id="s35"></div>

          <div id="s36"></div>

          <div id="s37"></div>

          <div id="s38"></div>

          <div id="s39"></div>

          <div id="s40"></div>

          <div id="s41"></div>

          <div id="s42"></div>

          <div id="s43"></div>

          <div id="s44"></div>

          <div id="s45"></div>

          <div id="s46"></div>

          <div id="s47"></div>

          <div id="s48"></div>

          <div id="s49"></div>

          <div id="s50"></div>

          <div id="s51"></div>

          <div id="s52"></div>

          <div id="s53"></div>

          <div id="s54"></div>

          <div id="s55"></div>

          <div id="s56"></div>

          <div id="s57"></div>

          <div id="s58"></div>

          <div id="s59"></div>

          <div id="s60"></div>

          </div>

          <div class="mins">

          <div id="m1"></div>

          <div id="m2"></div>

          <div id="m3"></div>

          <div id="m4"></div>

          <div id="m5"></div>

          <div id="m6"></div>

          <div id="m7"></div>

          <div id="m8"></div>

          <div id="m9"></div>

          <div id="m10"></div>

          <div id="m11"></div>

          <div id="m12"></div>

          <div id="m13"></div>

          <div id="m14"></div>

          <div id="m15"></div>

          <div id="m16"></div>

          <div id="m17"></div>

          <div id="m18"></div>

          <div id="m19"></div>

          <div id="m20"></div>

          <div id="m21"></div>

          <div id="m22"></div>

          <div id="m23"></div>

          <div id="m24"></div>

          <div id="m25"></div>

          <div id="m26"></div>

          <div id="m27"></div>

          <div id="m28"></div>

          <div id="m29"></div>

          <div id="m30"></div>

          <div id="m31"></div>

          <div id="m32"></div>

          <div id="m33"></div>

          <div id="m34"></div>

          <div id="m35"></div>

          <div id="m36"></div>

          <div id="m37"></div>

          <div id="m38"></div>

          <div id="m39"></div>

          <div id="m40"></div>

          <div id="m41"></div>

          <div id="m42"></div>

          <div id="m43"></div>

          <div id="m44"></div>

          <div id="m45"></div>

          <div id="m46"></div>

          <div id="m47"></div>

          <div id="m48"></div>

          <div id="m49"></div>

          <div id="m50"></div>

          <div id="m51"></div>

          <div id="m52"></div>

          <div id="m53"></div>

          <div id="m54"></div>

          <div id="m55"></div>

          <div id="m56"></div>

          <div id="m57"></div>

          <div id="m58"></div>

          <div id="m59"></div>

          <div id="m60"></div>

          </div>

          <div class="hours">

          <div id="h1"></div>

          <div id="h2"></div>

          <div id="h3"></div>

          <div id="h4"></div>

          <div id="h5"></div>

          <div id="h6"></div>

          <div id="h7"></div>

          <div id="h8"></div>

          <div id="h9"></div>

          <div id="h10"></div>

          <div id="h11"></div>

          <div id="h12"></div>

          </div>

          </div>

          </div>

          <div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">

          </div>

          </body>

          CSS:

          *{

          margin:0;

          padding:0;

          }

          body {

          background: url(blackBg.png) repeat;

          }

          a{

          text-decoration: none;

          }

          header {

          display:block;

          width:100%;

          height:80px;

          line-height: 80px;

          border-bottom: 3px solid #eee;

          box-shadow:0 0 30px #fff inset;

          position: relative;

          }

          header h2{

          color: #fff;

          font-size: 32px;

          position: absolute;

          top: 0;

          left: 20%;

          }

          header a{

          color: #eee;

          font-size: 16px;

          position: absolute;

          top: 10px;

          left: 70%;

          text-shadow: 1px 1px 10px #fff;

          }

          .container {

          margin: 0 auto;

          width: 900px;

          overflow: hidden;

          position: relative;

          }

          @-webkit-keyframes halo {

          from { box-shadow:0 0 30px #eee; }

          60% { box-shadow:0 0 180px #fff; }

          to { box-shadow:0 0 30px #eee; }

          }

          @-moz-keyframes halo {

          from { box-shadow:0 0 30px #eee; }

          60% { box-shadow:0 0 180px #fff; }

          to { box-shadow:0 0 30px #eee; }

          }

          #clock {

          margin: 50px auto;

          background: #fff url(clock.png) no-repeat 0 0;

          width: 500px;

          height: 500px;

          position: relative;

          -webkit-border-radius: 250px;

          -moz-border-radius: 250px;

          -ms-border-radius: 250px;

          -o-border-radius: 250px;

          border-radius: 250px;

          -webkit-box-shadow: 0 0 30px #fff;

          -moz-box-shadow: 0 0 30px #fff;

          -ms-box-shadow: 0 0 30px #fff;

          -o-box-shadow: 0 0 30px #fff;

          box-shadow: 0 0 30px #fff;

          -webkit-animation:halo 4s ease-in-out infinite;

          -moz-animation:halo 4s ease-in-out infinite;

          }

          /* seconds */

          @-webkit-keyframes secs_effect {

          0% {opacity: 1;}

          1.66% {opacity: 1;}

          1.67% {opacity: 0;}

          100% {opacity: 0;}

          }

          @-moz-keyframes secs_effect {

          0% {opacity: 1;}

          1.66% {opacity: 1;}

          1.67% {opacity: 0;}

          100% {opacity: 0;}

          }

          #clock .secs {

          height: 400px;

          left: 155px;

          position: absolute;

          top: 249px;

          width: 400px;

          }

          #clock .secs div {

          background-color: #009;

          height: 2px;

          opacity: 0;

          position: absolute;

          width: 190px;

          -moz-animation-name: secs_effect;

          -moz-animation-duration: 60s;

          -moz-animation-timing-function: linear;

          -moz-animation-iteration-count: infinite;

          -moz-animation-direction: normal;

          -moz-animation-delay: 0;

          -moz-animation-play-state: running;

          -moz-animation-fill-mode: forwards;

          -webkit-animation-name: secs_effect;

          -webkit-animation-duration: 60s;

          -webkit-animation-timing-function: linear;

          -webkit-animation-iteration-count: infinite;

          -webkit-animation-direction: normal;

          -webkit-animation-delay: 0;

          -webkit-animation-play-state: running;

          -webkit-animation-fill-mode: forwards;

          }

          #clock #s1 {

          -moz-transform: rotate(-90deg) translatex(130px);

          -moz-animation-delay: 0s;

          -webkit-transform: rotate(-90deg) translatex(130px);

          -webkit-animation-delay: 0s;

          }

          #clock #s2 {

          -moz-transform: rotate(-84deg) translatex(130px);

          -moz-animation-delay: 1s;

          -webkit-transform: rotate(-84deg) translatex(130px);

          -webkit-animation-delay: 1s;

          }

          #clock #s3 {

          -moz-transform: rotate(-78deg) translatex(130px);

          -moz-animation-delay: 2s;

          -webkit-transform: rotate(-78deg) translatex(130px);

          -webkit-animation-delay: 2s;

          }

          #clock #s4 {

          -moz-transform: rotate(-72deg) translatex(130px);

          -moz-animation-delay: 3s;

          -webkit-transform: rotate(-72deg) translatex(130px);

          -webkit-animation-delay: 3s;

          }

          #clock #s5 {

          -moz-transform: rotate(-66deg) translatex(130px);

          -moz-animation-delay: 4s;

          -webkit-transform: rotate(-66deg) translatex(130px);

          -webkit-animation-delay: 4s;

          }

          #clock #s6 {

          -moz-transform: rotate(-60deg) translatex(130px);

          -moz-animation-delay: 5s;

          -webkit-transform: rotate(-60deg) translatex(130px);

          -webkit-animation-delay: 5s;

          }

          #clock #s7 {

          -moz-transform: rotate(-54deg) translatex(130px);

          -moz-animation-delay: 6s;

          -webkit-transform: rotate(-54deg) translatex(130px);

          -webkit-animation-delay: 6s;

          }

          #clock #s8 {

          -moz-transform: rotate(-48deg) translatex(130px);

          -moz-animation-delay: 7s;

          -webkit-transform: rotate(-48deg) translatex(130px);

          -webkit-animation-delay: 7s;

          }

          #clock #s9 {

          -moz-transform: rotate(-42deg) translatex(130px);

          -moz-animation-delay: 8s;

          -webkit-transform: rotate(-42deg) translatex(130px);

          -webkit-animation-delay: 8s;

          }

          #clock #s10 {

          -moz-transform: rotate(-36deg) translatex(130px);

          -moz-animation-delay: 9s;

          -webkit-transform: rotate(-36deg) translatex(130px);

          -webkit-animation-delay: 9s;

          }

          #clock #s11 {

          -moz-transform: rotate(-30deg) translatex(130px);

          -moz-animation-delay: 10s;

          -webkit-transform: rotate(-30deg) translatex(130px);

          -webkit-animation-delay: 10s;

          }

          #clock #s12 {

          -moz-transform: rotate(-24deg) translatex(130px);

          -moz-animation-delay: 11s;

          -webkit-transform: rotate(-24deg) translatex(130px);

          -webkit-animation-delay: 11s;

          }

          #clock #s13 {

          -moz-transform: rotate(-18deg) translatex(130px);

          -moz-animation-delay: 12s;

          -webkit-transform: rotate(-18deg) translatex(130px);

          -webkit-animation-delay: 12s;

          }

          #clock #s14 {

          -moz-transform: rotate(-12deg) translatex(130px);

          -moz-animation-delay: 13s;

          -webkit-transform: rotate(-12deg) translatex(130px);

          -webkit-animation-delay: 13s;

          }

          #clock #s15 {

          -moz-transform: rotate(-6deg) translatex(130px);

          -moz-animation-delay: 14s;

          -webkit-transform: rotate(-6deg) translatex(130px);

          -webkit-animation-delay: 14s;

          }

          #clock #s16 {

          -moz-transform: rotate(0deg) translatex(130px);

          -moz-animation-delay: 15s;

          -webkit-transform: rotate(0deg) translatex(130px);

          -webkit-animation-delay: 15s;

          }

          #clock #s17 {

          -moz-transform: rotate(6deg) translatex(130px);

          -moz-animation-delay: 16s;

          -webkit-transform: rotate(6deg) translatex(130px);

          -webkit-animation-delay: 16s;

          }

          #clock #s18 {

          -moz-transform: rotate(12deg) translatex(130px);

          -moz-animation-delay: 17s;

          -webkit-transform: rotate(12deg) translatex(130px);

          -webkit-animation-delay: 17s;

          }

          #clock #s19 {

          -moz-transform: rotate(18deg) translatex(130px);

          -moz-animation-delay: 18s;

          -webkit-transform: rotate(18deg) translatex(130px);

          -webkit-animation-delay: 18s;

          }

          #clock #s20 {

          -moz-transform: rotate(24deg) translatex(130px);

          -moz-animation-delay: 19s;

          -webkit-transform: rotate(24deg) translatex(130px);

          -webkit-animation-delay: 19s;

          }

          #clock #s21 {

          -moz-transform: rotate(30deg) translatex(130px);

          -moz-animation-delay: 20s;

          -webkit-transform: rotate(30deg) translatex(130px);

          -webkit-animation-delay: 20s;

          }

          #clock #s22 {

          -moz-transform: rotate(36deg) translatex(130px);

          -moz-animation-delay: 21s;

          -webkit-transform: rotate(36deg) translatex(130px);

          -webkit-animation-delay: 21s;

          }

          #clock #s23 {

          -moz-transform: rotate(42deg) translatex(130px);

          -moz-animation-delay: 22s;

          -webkit-transform: rotate(42deg) translatex(130px);

          -webkit-animation-delay: 22s;

          }

          #clock #s24 {

          -moz-transform: rotate(48deg) translatex(130px);

          -moz-animation-delay: 23s;

          -webkit-transform: rotate(48deg) translatex(130px);

          -webkit-animation-delay: 23s;

          }

          #clock #s25 {

          -moz-transform: rotate(54deg) translatex(130px);

          -moz-animation-delay: 24s;

          -webkit-transform: rotate(54deg) translatex(130px);

          -webkit-animation-delay: 24s;

          }

          #clock #s26 {

          -moz-transform: rotate(60deg) translatex(130px);

          -moz-animation-delay: 25s;

          -webkit-transform: rotate(60deg) translatex(130px);

          -webkit-animation-delay: 25s;

          }

          #clock #s27 {

          -moz-transform: rotate(66deg) translatex(130px);

          -moz-animation-delay: 26s;

          -webkit-transform: rotate(66deg) translatex(130px);

          -webkit-animation-delay: 26s;

          }

          #clock #s28 {

          -moz-transform: rotate(72deg) translatex(130px);

          -moz-animation-delay: 27s;

          -webkit-transform: rotate(72deg) translatex(130px);

          -webkit-animation-delay: 27s;

          }

          #clock #s29 {

          -moz-transform: rotate(78deg) translatex(130px);

          -moz-animation-delay: 28s;

          -webkit-transform: rotate(78deg) translatex(130px);

          -webkit-animation-delay: 28s;

          }

          #clock #s30 {

          -moz-transform: rotate(84deg) translatex(130px);

          -moz-animation-delay: 29s;

          -webkit-transform: rotate(84deg) translatex(130px);

          -webkit-animation-delay: 29s;

          }

          #clock #s31 {

          -moz-transform: rotate(90deg) translatex(130px);

          -moz-animation-delay: 30s;

          -webkit-transform: rotate(90deg) translatex(130px);

          -webkit-animation-delay: 30s;

          }

          #clock #s32 {

          -moz-transform: rotate(96deg) translatex(130px);

          -moz-animation-delay: 31s;

          -webkit-transform: rotate(96deg) translatex(130px);

          -webkit-animation-delay: 31s;

          }

          #clock #s33 {

          -moz-transform: rotate(102deg) translatex(130px);

          -moz-animation-delay: 32s;

          -webkit-transform: rotate(102deg) translatex(130px);

          -webkit-animation-delay: 32s;

          }

          #clock #s34 {

          -moz-transform: rotate(108deg) translatex(130px);

          -moz-animation-delay: 33s;

          -webkit-transform: rotate(108deg) translatex(130px);

          -webkit-animation-delay: 33s;

          }

          #clock #s35 {

          -moz-transform: rotate(114deg) translatex(130px);

          -moz-animation-delay: 34s;

          -webkit-transform: rotate(114deg) translatex(130px);

          -webkit-animation-delay: 34s;

          }

          #clock #s36 {

          -moz-transform: rotate(120deg) translatex(130px);

          -moz-animation-delay: 35s;

          -webkit-transform: rotate(120deg) translatex(130px);

          -webkit-animation-delay: 35s;

          }

          #clock #s37 {

          -moz-transform: rotate(126deg) translatex(130px);

          -moz-animation-delay: 36s;

          -webkit-transform: rotate(126deg) translatex(130px);

          -webkit-animation-delay: 36s;

          }

          #clock #s38 {

          -moz-transform: rotate(132deg) translatex(130px);

          -moz-animation-delay: 37s;

          -webkit-transform: rotate(132deg) translatex(130px);

          -webkit-animation-delay: 37s;

          }

          #clock #s39 {

          -moz-transform: rotate(138deg) translatex(130px);

          -moz-animation-delay: 38s;

          -webkit-transform: rotate(138deg) translatex(130px);

          -webkit-animation-delay: 38s;

          }

          #clock #s40 {

          -moz-transform: rotate(144deg) translatex(130px);

          -moz-animation-delay: 39s;

          -webkit-transform: rotate(144deg) translatex(130px);

          -webkit-animation-delay: 39s;

          }

          #clock #s41 {

          -moz-transform: rotate(150deg) translatex(130px);

          -moz-animation-delay: 40s;

          -webkit-transform: rotate(150deg) translatex(130px);

          -webkit-animation-delay: 40s;

          }

          #clock #s42 {

          -moz-transform: rotate(156deg) translatex(130px);

          -moz-animation-delay: 41s;

          -webkit-transform: rotate(156deg) translatex(130px);

          -webkit-animation-delay: 41s;

          }

          #clock #s43 {

          -moz-transform: rotate(162deg) translatex(130px);

          -moz-animation-delay: 42s;

          -webkit-transform: rotate(162deg) translatex(130px);

          -webkit-animation-delay: 42s;

          }

          #clock #s44 {

          -moz-transform: rotate(168deg) translatex(130px);

          -moz-animation-delay: 43s;

          -webkit-transform: rotate(168deg) translatex(130px);

          -webkit-animation-delay: 43s;

          }

          #clock #s45 {

          -moz-transform: rotate(174deg) translatex(130px);

          -moz-animation-delay: 44s;

          -webkit-transform: rotate(174deg) translatex(130px);

          -webkit-animation-delay: 44s;

          }

          #clock #s46 {

          -moz-transform: rotate(180deg) translatex(130px);

          -moz-animation-delay: 45s;

          -webkit-transform: rotate(180deg) translatex(130px);

          -webkit-animation-delay: 45s;

          }

          #clock #s47 {

          -moz-transform: rotate(186deg) translatex(130px);

          -moz-animation-delay: 46s;

          -webkit-transform: rotate(186deg) translatex(130px);

          -webkit-animation-delay: 46s;

          }

          #clock #s48 {

          -moz-transform: rotate(192deg) translatex(130px);

          -moz-animation-delay: 47s;

          -webkit-transform: rotate(192deg) translatex(130px);

          -webkit-animation-delay: 47s;

          }

          #clock #s49 {

          -moz-transform: rotate(198deg) translatex(130px);

          -moz-animation-delay: 48s;

          -webkit-transform: rotate(198deg) translatex(130px);

          -webkit-animation-delay: 48s;

          }

          #clock #s50 {

          -moz-transform: rotate(204deg) translatex(130px);

          -moz-animation-delay: 49s;

          -webkit-transform: rotate(204deg) translatex(130px);

          -webkit-animation-delay: 49s;

          }

          #clock #s51 {

          -moz-transform: rotate(210deg) translatex(130px);

          -moz-animation-delay: 50s;

          -webkit-transform: rotate(210deg) translatex(130px);

          -webkit-animation-delay: 50s;

          }

          #clock #s52 {

          -moz-transform: rotate(216deg) translatex(130px);

          -moz-animation-delay: 51s;

          -webkit-transform: rotate(216deg) translatex(130px);

          -webkit-animation-delay: 51s;

          }

          #clock #s53 {

          -moz-transform: rotate(222deg) translatex(130px);

          -moz-animation-delay: 52s;

          -webkit-transform: rotate(222deg) translatex(130px);

          -webkit-animation-delay: 52s;

          }

          #clock #s54 {

          -moz-transform: rotate(228deg) translatex(130px);

          -moz-animation-delay: 53s;

          -webkit-transform: rotate(228deg) translatex(130px);

          -webkit-animation-delay: 53s;

          }

          #clock #s55 {

          -moz-transform: rotate(234deg) translatex(130px);

          -moz-animation-delay: 54s;

          -webkit-transform: rotate(234deg) translatex(130px);

          -webkit-animation-delay: 54s;

          }

          #clock #s56 {

          -moz-transform: rotate(240deg) translatex(130px);

          -moz-animation-delay: 55s;

          -webkit-transform: rotate(240deg) translatex(130px);

          -webkit-animation-delay: 55s;

          }

          #clock #s57 {

          -moz-transform: rotate(246deg) translatex(130px);

          -moz-animation-delay: 56s;

          -webkit-transform: rotate(246deg) translatex(130px);

          -webkit-animation-delay: 56s;

          }

          #clock #s58 {

          -moz-transform: rotate(252deg) translatex(130px);

          -moz-animation-delay: 57s;

          -webkit-transform: rotate(252deg) translatex(130px);

          -webkit-animation-delay: 57s;

          }

          #clock #s59 {

          -moz-transform: rotate(258deg) translatex(130px);

          -moz-animation-delay: 58s;

          -webkit-transform: rotate(258deg) translatex(130px);

          -webkit-animation-delay: 58s;

          }

          #clock #s60 {

          -moz-transform: rotate(264deg) translatex(130px);

          -moz-animation-delay: 59s;

          -webkit-transform: rotate(264deg) translatex(130px);

          -webkit-animation-delay: 59s;

          }

          /* minutes */

          @-webkit-keyframes mins_effect {

          0% {opacity: 1;}

          1.66% {opacity: 1;}

          1.67% {opacity: 0;}

          100% {opacity: 0;}

          }

          @-moz-keyframes mins_effect {

          0% {opacity: 1;}

          1.66% {opacity: 1;}

          1.67% {opacity: 0;}

          100% {opacity: 0;}

          }

          #clock .mins {

          height: 300px;

          left: 175px;

          position: absolute;

          top: 249px;

          width: 300px;

          }

          #clock .mins div {

          background-color: #4DB849;

          height: 4px;

          opacity: 0;

          position: absolute;

          width: 150px;

          -moz-animation-name: mins_effect;

          -moz-animation-duration: 3600s;

          -moz-animation-timing-function: linear;

          -moz-animation-iteration-count: infinite;

          -moz-animation-direction: normal;

          -moz-animation-delay: 0;

          -moz-animation-play-state: running;

          -moz-animation-fill-mode: forwards;

          -webkit-animation-name: mins_effect;

          -webkit-animation-duration: 3600s;

          -webkit-animation-timing-function: linear;

          -webkit-animation-iteration-count: infinite;

          -webkit-animation-direction: normal;

          -webkit-animation-delay: 0;

          -webkit-animation-play-state: running;

          -webkit-animation-fill-mode: forwards;

          }

          #clock #m1 {

          -moz-transform: rotate(-90deg) translatex(110px);

          -moz-animation-delay: 0s;

          -webkit-transform: rotate(-90deg) translatex(110px);

          -webkit-animation-delay: 0s;

          }

          #clock #m2 {

          -moz-transform: rotate(-84deg) translatex(110px);

          -moz-animation-delay: 60s;

          -webkit-transform: rotate(-84deg) translatex(110px);

          -webkit-animation-delay: 60s;

          }

          #clock #m3 {

          -moz-transform: rotate(-78deg) translatex(110px);

          -moz-animation-delay: 120s;

          -webkit-transform: rotate(-78deg) translatex(110px);

          -webkit-animation-delay: 120s;

          }

          #clock #m4 {

          -moz-transform: rotate(-72deg) translatex(110px);

          -moz-animation-delay: 180s;

          -webkit-transform: rotate(-72deg) translatex(110px);

          -webkit-animation-delay: 180s;

          }

          #clock #m5 {

          -moz-transform: rotate(-66deg) translatex(110px);

          -moz-animation-delay: 240s;

          -webkit-transform: rotate(-66deg) translatex(110px);

          -webkit-animation-delay: 240s;

          }

          #clock #m6 {

          -moz-transform: rotate(-60deg) translatex(110px);

          -moz-animation-delay: 300s;

          -webkit-transform: rotate(-60deg) translatex(110px);

          -webkit-animation-delay: 300s;

          }

          #clock #m7 {

          -moz-transform: rotate(-54deg) translatex(110px);

          -moz-animation-delay: 360s;

          -webkit-transform: rotate(-54deg) translatex(110px);

          -webkit-animation-delay: 360s;

          }

          #clock #m8 {

          -moz-transform: rotate(-48deg) translatex(110px);

          -moz-animation-delay: 420s;

          -webkit-transform: rotate(-48deg) translatex(110px);

          -webkit-animation-delay: 420s;

          }

          #clock #m9 {

          -moz-transform: rotate(-42deg) translatex(110px);

          -moz-animation-delay: 480s;

          -webkit-transform: rotate(-42deg) translatex(110px);

          -webkit-animation-delay: 480s;

          }

          #clock #m10 {

          -moz-transform: rotate(-36deg) translatex(110px);

          -moz-animation-delay: 540s;

          -webkit-transform: rotate(-36deg) translatex(110px);

          -webkit-animation-delay: 540s;

          }

          #clock #m11 {

          -moz-transform: rotate(-30deg) translatex(110px);

          -moz-animation-delay: 600s;

          -webkit-transform: rotate(-30deg) translatex(110px);

          -webkit-animation-delay: 600s;

          }

          #clock #m12 {

          -moz-transform: rotate(-24deg) translatex(110px);

          -moz-animation-delay: 660s;

          -webkit-transform: rotate(-24deg) translatex(110px);

          -webkit-animation-delay: 660s;

          }

          #clock #m13 {

          -moz-transform: rotate(-18deg) translatex(110px);

          -moz-animation-delay: 720s;

          -webkit-transform: rotate(-18deg) translatex(110px);

          -webkit-animation-delay: 720s;

          }

          #clock #m14 {

          -moz-transform: rotate(-12deg) translatex(110px);

          -moz-animation-delay: 780s;

          -webkit-transform: rotate(-12deg) translatex(110px);

          -webkit-animation-delay: 780s;

          }

          #clock #m15 {

          -moz-transform: rotate(-6deg) translatex(110px);

          -moz-animation-delay: 840s;

          -webkit-transform: rotate(-6deg) translatex(110px);

          -webkit-animation-delay: 840s;

          }

          #clock #m16 {

          -moz-transform: rotate(0deg) translatex(110px);

          -moz-animation-delay: 900s;

          -webkit-transform: rotate(0deg) translatex(110px);

          -webkit-animation-delay: 900s;

          }

          #clock #m17 {

          -moz-transform: rotate(6deg) translatex(110px);

          -moz-animation-delay: 960s;

          -webkit-transform: rotate(6deg) translatex(110px);

          -webkit-animation-delay: 960s;

          }

          #clock #m18 {

          -moz-transform: rotate(12deg) translatex(110px);

          -moz-animation-delay: 1020s;

          -webkit-transform: rotate(12deg) translatex(110px);

          -webkit-animation-delay: 1020s;

          }

          #clock #m19 {

          -moz-transform: rotate(18deg) translatex(110px);

          -moz-animation-delay: 1080s;

          -webkit-transform: rotate(18deg) translatex(110px);

          -webkit-animation-delay: 1080s;

          }

          #clock #m20 {

          -moz-transform: rotate(24deg) translatex(110px);

          -moz-animation-delay: 1140s;

          -webkit-transform: rotate(24deg) translatex(110px);

          -webkit-animation-delay: 1140s;

          }

          #clock #m21 {

          -moz-transform: rotate(30deg) translatex(110px);

          -moz-animation-delay: 1200s;

          -webkit-transform: rotate(30deg) translatex(110px);

          -webkit-animation-delay: 1200s;

          }

          #clock #m22 {

          -moz-transform: rotate(36deg) translatex(110px);

          -moz-animation-delay: 1260s;

          -webkit-transform: rotate(36deg) translatex(110px);

          -webkit-animation-delay: 1260s;

          }

          #clock #m23 {

          -moz-transform: rotate(42deg) translatex(110px);

          -moz-animation-delay: 1320s;

          -webkit-transform: rotate(42deg) translatex(110px);

          -webkit-animation-delay: 1320s;

          }

          #clock #m24 {

          -moz-transform: rotate(48deg) translatex(110px);

          -moz-animation-delay: 1380s;

          -webkit-transform: rotate(48deg) translatex(110px);

          -webkit-animation-delay: 1380s;

          }

          #clock #m25 {

          -moz-transform: rotate(54deg) translatex(110px);

          -moz-animation-delay: 1440s;

          -webkit-transform: rotate(54deg) translatex(110px);

          -webkit-animation-delay: 1440s;

          }

          #clock #m26 {

          -moz-transform: rotate(60deg) translatex(110px);

          -moz-animation-delay: 1500s;

          -webkit-transform: rotate(60deg) translatex(110px);

          -webkit-animation-delay: 1500s;

          }

          #clock #m27 {

          -moz-transform: rotate(66deg) translatex(110px);

          -moz-animation-delay: 1560s;

          -webkit-transform: rotate(66deg) translatex(110px);

          -webkit-animation-delay: 1560s;

          }

          #clock #m28 {

          -moz-transform: rotate(72deg) translatex(110px);

          -moz-animation-delay: 1620s;

          -webkit-transform: rotate(72deg) translatex(110px);

          -webkit-animation-delay: 1620s;

          }

          #clock #m29 {

          -moz-transform: rotate(78deg) translatex(110px);

          -moz-animation-delay: 1680s;

          -webkit-transform: rotate(78deg) translatex(110px);

          -webkit-animation-delay: 1680s;

          }

          #clock #m30 {

          -moz-transform: rotate(84deg) translatex(110px);

          -moz-animation-delay: 1740s;

          -webkit-transform: rotate(84deg) translatex(110px);

          -webkit-animation-delay: 1740s;

          }

          #clock #m31 {

          -moz-transform: rotate(90deg) translatex(110px);

          -moz-animation-delay: 1800s;

          -webkit-transform: rotate(90deg) translatex(110px);

          -webkit-animation-delay: 1800s;

          }

          #clock #m32 {

          -moz-transform: rotate(96deg) translatex(110px);

          -moz-animation-delay: 1860s;

          -webkit-transform: rotate(96deg) translatex(110px);

          -webkit-animation-delay: 1860s;

          }

          #clock #m33 {

          -moz-transform: rotate(102deg) translatex(110px);

          -moz-animation-delay: 1920s;

          -webkit-transform: rotate(102deg) translatex(110px);

          -webkit-animation-delay: 1920s;

          }

          #clock #m34 {

          -moz-transform: rotate(108deg) translatex(110px);

          -moz-animation-delay: 1980s;

          -webkit-transform: rotate(108deg) translatex(110px);

          -webkit-animation-delay: 1980s;

          }

          #clock #m35 {

          -moz-transform: rotate(114deg) translatex(110px);

          -moz-animation-delay: 2040s;

          -webkit-transform: rotate(114deg) translatex(110px);

          -webkit-animation-delay: 2040s;

          }

          #clock #m36 {

          -moz-transform: rotate(120deg) translatex(110px);

          -moz-animation-delay: 2100s;

          -webkit-transform: rotate(120deg) translatex(110px);

          -webkit-animation-delay: 2100s;

          }

          #clock #m37 {

          -moz-transform: rotate(126deg) translatex(110px);

          -moz-animation-delay: 2160s;

          -webkit-transform: rotate(126deg) translatex(110px);

          -webkit-animation-delay: 2160s;

          }

          #clock #m38 {

          -moz-transform: rotate(132deg) translatex(110px);

          -moz-animation-delay: 2220s;

          -webkit-transform: rotate(132deg) translatex(110px);

          -webkit-animation-delay: 2220s;

          }

          #clock #m39 {

          -moz-transform: rotate(138deg) translatex(110px);

          -moz-animation-delay: 2280s;

          -webkit-transform: rotate(138deg) translatex(110px);

          -webkit-animation-delay: 2280s;

          }

          #clock #m40 {

          -moz-transform: rotate(144deg) translatex(110px);

          -moz-animation-delay: 2340s;

          -webkit-transform: rotate(144deg) translatex(110px);

          -webkit-animation-delay: 2340s;

          }

          #clock #m41 {

          -moz-transform: rotate(150deg) translatex(110px);

          -moz-animation-delay: 2400s;

          -webkit-transform: rotate(150deg) translatex(110px);

          -webkit-animation-delay: 2400s;

          }

          #clock #m42 {

          -moz-transform: rotate(156deg) translatex(110px);

          -moz-animation-delay: 2460s;

          -webkit-transform: rotate(156deg) translatex(110px);

          -webkit-animation-delay: 2460s;

          }

          #clock #m43 {

          -moz-transform: rotate(162deg) translatex(110px);

          -moz-animation-delay: 2520s;

          -webkit-transform: rotate(162deg) translatex(110px);

          -webkit-animation-delay: 2520s;

          }

          #clock #m44 {

          -moz-transform: rotate(168deg) translatex(110px);

          -moz-animation-delay: 2580s;

          -webkit-transform: rotate(168deg) translatex(110px);

          -webkit-animation-delay: 2580s;

          }

          #clock #m45 {

          -moz-transform: rotate(174deg) translatex(110px);

          -moz-animation-delay: 2640s;

          -webkit-transform: rotate(174deg) translatex(110px);

          -webkit-animation-delay: 2640s;

          }

          #clock #m46 {

          -moz-transform: rotate(180deg) translatex(110px);

          -moz-animation-delay: 2700s;

          -webkit-transform: rotate(180deg) translatex(110px);

          -webkit-animation-delay: 2700s;

          }

          #clock #m47 {

          -moz-transform: rotate(186deg) translatex(110px);

          -moz-animation-delay: 2760s;

          -webkit-transform: rotate(186deg) translatex(110px);

          -webkit-animation-delay: 2760s;

          }

          #clock #m48 {

          -moz-transform: rotate(192deg) translatex(110px);

          -moz-animation-delay: 2820s;

          -webkit-transform: rotate(192deg) translatex(110px);

          -webkit-animation-delay: 2820s;

          }

          #clock #m49 {

          -moz-transform: rotate(198deg) translatex(110px);

          -moz-animation-delay: 2880s;

          -webkit-transform: rotate(198deg) translatex(110px);

          -webkit-animation-delay: 2880s;

          }

          #clock #m50 {

          -moz-transform: rotate(204deg) translatex(110px);

          -moz-animation-delay: 2940s;

          -webkit-transform: rotate(204deg) translatex(110px);

          -webkit-animation-delay: 2940s;

          }

          #clock #m51 {

          -moz-transform: rotate(210deg) translatex(110px);

          -moz-animation-delay: 3000s;

          -webkit-transform: rotate(210deg) translatex(110px);

          -webkit-animation-delay: 3000s;

          }

          #clock #m52 {

          -moz-transform: rotate(216deg) translatex(110px);

          -moz-animation-delay: 3060s;

          -webkit-transform: rotate(216deg) translatex(110px);

          -webkit-animation-delay: 3060s;

          }

          #clock #m53 {

          -moz-transform: rotate(222deg) translatex(110px);

          -moz-animation-delay: 3120s;

          -webkit-transform: rotate(222deg) translatex(110px);

          -webkit-animation-delay: 3120s;

          }

          #clock #m54 {

          -moz-transform: rotate(228deg) translatex(110px);

          -moz-animation-delay: 3180s;

          -webkit-transform: rotate(228deg) translatex(110px);

          -webkit-animation-delay: 3180s;

          }

          #clock #m55 {

          -moz-transform: rotate(234deg) translatex(110px);

          -moz-animation-delay: 3240s;

          -webkit-transform: rotate(234deg) translatex(110px);

          -webkit-animation-delay: 3240s;

          }

          #clock #m56 {

          -moz-transform: rotate(240deg) translatex(110px);

          -moz-animation-delay: 3300s;

          -webkit-transform: rotate(240deg) translatex(110px);

          -webkit-animation-delay: 3300s;

          }

          #clock #m57 {

          -moz-transform: rotate(246deg) translatex(110px);

          -moz-animation-delay: 3360s;

          -webkit-transform: rotate(246deg) translatex(110px);

          -webkit-animation-delay: 3360s;

          }

          #clock #m58 {

          -moz-transform: rotate(252deg) translatex(110px);

          -moz-animation-delay: 3420s;

          -webkit-transform: rotate(252deg) translatex(110px);

          -webkit-animation-delay: 3420s;

          }

          #clock #m59 {

          -moz-transform: rotate(258deg) translatex(110px);

          -moz-animation-delay: 3480s;

          -webkit-transform: rotate(258deg) translatex(110px);

          -webkit-animation-delay: 3480s;

          }

          #clock #m60 {

          -moz-transform: rotate(264deg) translatex(110px);

          -moz-animation-delay: 3540s;

          -webkit-transform: rotate(264deg) translatex(110px);

          -webkit-animation-delay: 3540s;

          }

          /* hours */

          @-webkit-keyframes hours_effect {

          0% {opacity: 1;}

          8.33% {opacity: 1;}

          8.34% {opacity: 0;}

          100% {opacity: 0;}

          }

          @-moz-keyframes hours_effect {

          0% {opacity: 1;}

          8.33% {opacity: 1;}

          8.34% {opacity: 0;}

          100% {opacity: 0;}

          }

          #clock .hours {

          height: 300px;

          left: 175px;

          position: absolute;

          top: 249px;

          width: 300px;

          }

          #clock .hours div {

          background-color: #940500;

          height: 6px;

          opacity: 0;

          position: absolute;

          width: 150px;

          -moz-animation-name: hours_effect;

          -moz-animation-duration: 43200s;

          -moz-animation-timing-function: linear;

          -moz-animation-iteration-count: infinite;

          -moz-animation-direction: normal;

          -moz-animation-delay: 0;

          -moz-animation-play-state: running;

          -moz-animation-fill-mode: forwards;

          -webkit-animation-name: hours_effect;

          -webkit-animation-duration: 43200s;

          -webkit-animation-timing-function: linear;

          -webkit-animation-iteration-count: infinite;

          -webkit-animation-direction: normal;

          -webkit-animation-delay: 0;

          -webkit-animation-play-state: running;

          -webkit-animation-fill-mode: forwards;

          }

          #clock #h1 {

          -moz-transform: rotate(-180deg) translatex(110px);

          -moz-animation-delay: 0s;

          -webkit-transform: rotate(-180deg) translatex(110px);

          -webkit-animation-delay: 0s;

          }

          #clock #h2 {

          -moz-transform: rotate(-150deg) translatex(110px);

          -moz-animation-delay: 3600s;

          -webkit-transform: rotate(-150deg) translatex(110px);

          -webkit-animation-delay: 3600s;

          }

          #clock #h3 {

          -moz-transform: rotate(-120deg) translatex(110px);

          -moz-animation-delay: 7200s;

          -webkit-transform: rotate(-120deg) translatex(110px);

          -webkit-animation-delay: 7200s;

          }

          #clock #h4 {

          -moz-transform: rotate(-90deg) translatex(110px);

          -moz-animation-delay: 10800s;

          -webkit-transform: rotate(-90deg) translatex(110px);

          -webkit-animation-delay: 10800s;

          }

          #clock #h5 {

          -moz-transform: rotate(-60deg) translatex(110px);

          -moz-animation-delay: 14400s;

          -webkit-transform: rotate(-60deg) translatex(110px);

          -webkit-animation-delay: 14400s;

          }

          #clock #h6 {

          -moz-transform: rotate(-30deg) translatex(110px);

          -moz-animation-delay: 18000s;

          -webkit-transform: rotate(-30deg) translatex(110px);

          -webkit-animation-delay: 18000s;

          }

          #clock #h7 {

          -moz-transform: rotate(0deg) translatex(110px);

          -moz-animation-delay: 21600s;

          -webkit-transform: rotate(0deg) translatex(110px);

          -webkit-animation-delay: 21600s;

          }

          #clock #h8 {

          -moz-transform: rotate(30deg) translatex(110px);

          -moz-animation-delay: 25200s;

          -webkit-transform: rotate(30deg) translatex(110px);

          -webkit-animation-delay: 25200s;

          }

          #clock #h9 {

          -moz-transform: rotate(60deg) translatex(110px);

          -moz-animation-delay: 28800s;

          -webkit-transform: rotate(60deg) translatex(110px);

          -webkit-animation-delay: 28800s;

          }

          #clock #h10 {

          -moz-transform: rotate(90deg) translatex(110px);

          -moz-animation-delay: 32400s;

          -webkit-transform: rotate(90deg) translatex(110px);

          -webkit-animation-delay: 32400s;

          }

          #clock #h11 {

          -moz-transform: rotate(120deg) translatex(110px);

          -moz-animation-delay: 36000s;

          -webkit-transform: rotate(120deg) translatex(110px);

          -webkit-animation-delay: 36000s;

          }

          #clock #h12 {

          -moz-transform: rotate(150deg) translatex(110px);

          -moz-animation-delay: 39600s;

          -webkit-transform: rotate(150deg) translatex(110px);

          -webkit-animation-delay: 39600s;

          }

          記住哦~只是實現一個效果。

          自己可以發揮想象力。

          今天就分享到這里了.

          如果你有渴望學習到的模塊,歡迎從下方進行評論。

          希望得到你們的收藏以及關注哦。

          ~(づ ̄ 3 ̄)づ


          主站蜘蛛池模板: 色一情一乱一伦一区二区三区| 久久精品亚洲一区二区三区浴池| 少妇人妻偷人精品一区二区| 精品国产乱码一区二区三区| 夜夜精品无码一区二区三区| 色婷婷av一区二区三区仙踪林| 国产成人片视频一区二区| 美女视频一区三区网站在线观看| 91福利国产在线观看一区二区| 日本精品高清一区二区2021| 99在线精品一区二区三区| 日本免费一区二区三区| 亚洲无人区一区二区三区| 国产精品毛片一区二区| 内射一区二区精品视频在线观看| 亚洲精品国产suv一区88| 一区二区三区在线|欧| 国产午夜福利精品一区二区三区| 亚洲第一区精品观看| 免费在线观看一区| 极品少妇伦理一区二区| 日韩精品一区在线| 日韩AV无码一区二区三区不卡| AV天堂午夜精品一区二区三区| 亚洲一区二区三区在线观看蜜桃| 国产午夜福利精品一区二区三区| 伊人精品视频一区二区三区| 天码av无码一区二区三区四区| 波多野结衣中文一区| 无码视频免费一区二三区| 亚洲一区在线观看视频| 3d动漫精品啪啪一区二区中文| 人妻无码久久一区二区三区免费| 亚洲图片一区二区| 国产精品香蕉在线一区| 无码中文人妻在线一区| 国产精品久久久久一区二区| 国产日韩精品一区二区三区| 无码毛片一区二区三区中文字幕| 亚洲国模精品一区| 亚洲综合色自拍一区|