茄子在线看片免费人成视频,午夜福利精品a在线观看,国产高清自产拍在线观看,久久综合久久狠狠综合

    <s id="ddbnn"></s>
  • <sub id="ddbnn"><ol id="ddbnn"></ol></sub>

  • <legend id="ddbnn"></legend><s id="ddbnn"></s>

    CSS3數(shù)字時鐘
    來源:易賢網(wǎng) 閱讀:1617 次 日期:2015-09-02 15:29:14
    溫馨提示:易賢網(wǎng)小編為您整理了“CSS3數(shù)字時鐘”,方便廣大網(wǎng)友查閱!

    代碼如下:

    <!DOCTYPE HTML>

    <html>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <title>CSS3數(shù)字時鐘 DEMO</title>

    <style type="text/css">

    body {

    background:#202020;

    font:bold 12px Arial, Helvetica, sans-serif;

    margin:0;

    padding:0;

    min-width:960px;

    color:#bbbbbb;

    }

    a {

    text-decoration:none;

    color:#00c6ff;

    }

    h1 {

    font: 4em normal Arial, Helvetica, sans-serif;

    padding: 20px;

    margin: 0;

    text-align:center;

    }

    h1 small {

    font: 0.2em normal Arial, Helvetica, sans-serif;

    text-transform:uppercase;

    letter-spacing: 0.2em;

    line-height: 5em;

    display: block;

    }

    h2 {

    font-weight:700;

    color:#bbb;

    font-size:20px;

    }

    h2, p {

    margin-bottom:10px;

    }

    @font-face {

    font-family: 'BebasNeueRegular';

    src: url('BebasNeue-webfont.eot');

    src: url('BebasNeue-webfont.eot?#iefix') format('embedded-opentype'), url('BebasNeue-webfont.woff') format('woff'), url('BebasNeue-webfont.ttf') format('truetype'), url('BebasNeue-webfont.svg#BebasNeueRegular') format('svg');

    font-weight: normal;

    font-style: normal;

    }

    .container {

    width: 960px;

    margin: 0 auto;

    overflow: hidden;

    }

    .clock {

    width:800px;

    margin:0 auto;

    padding:30px;

    border:1px solid #333;

    color:#fff;

    }

    #Date {

    font-family:'BebasNeueRegular', Arial, Helvetica, sans-serif;

    font-size:36px;

    text-align:center;

    text-shadow:0 0 5px #00c6ff;

    }

    ul {

    width:800px;

    margin:0 auto;

    padding:0px;

    list-style:none;

    text-align:center;

    }

    ul li {

    display:inline;

    font-size:10em;

    text-align:center;

    font-family:'BebasNeueRegular', Arial, Helvetica, sans-serif;

    text-shadow:0 0 5px #00c6ff;

    }

    #point {

    position:relative;

    -moz-animation:mymove 1s ease infinite;

    -webkit-animation:mymove 1s ease infinite;

    padding-left:10px;

    padding-right:10px;

    }

    @-webkit-keyframes mymove {

    0% {

    opacity:1.0;

    text-shadow:0 0 20px #00c6ff;

    }

    50% {

    opacity:0;

    text-shadow:none;

    }

    100% {

    opacity:1.0;

    text-shadow:0 0 20px #00c6ff;

    }

    }

    @-moz-keyframes mymove {

    0% {

    opacity:1.0;

    text-shadow:0 0 20px #00c6ff;

    }

    50% {

    opacity:0;

    text-shadow:none;

    }

    100% {

    opacity:1.0;

    text-shadow:0 0 20px #00c6ff;

    }

    }

    </style>

    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>

    <script type="text/javascript">

    $(document).ready(function() {

    // Create two variable with the names of the months and days in an array

    var monthNames = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ];

    var dayNames= ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]

    // Create a newDate() object

    var newDate = new Date();

    // Extract the current date from Date object

    newDate.setDate(newDate.getDate());

    // Output the day, date, month and year

    $('#Date').html(dayNames[newDate.getDay()] + " " + newDate.getDate() + ' ' + monthNames[newDate.getMonth()] + ' ' + newDate.getFullYear());

    setInterval( function() {

    // Create a newDate() object and extract the seconds of the current time on the visitor's

    var seconds = new Date().getSeconds();

    // Add a leading zero to seconds value

    $("#sec").html(( seconds < 10 ? "0" : "" ) + seconds);

    },1000);

    setInterval( function() {

    // Create a newDate() object and extract the minutes of the current time on the visitor's

    var minutes = new Date().getMinutes();

    // Add a leading zero to the minutes value

    $("#min").html(( minutes < 10 ? "0" : "" ) + minutes);

    },1000);

    setInterval( function() {

    // Create a newDate() object and extract the hours of the current time on the visitor's

    var hours = new Date().getHours();

    // Add a leading zero to the hours value

    $("#hours").html(( hours < 10 ? "0" : "" ) + hours);

    }, 1000);

    });

    </script>

    </head>

    <body>

    <div class="clock">

    <div id="Date"></div>

    <ul>

    <li id="hours"> </li>

    <li id="point">:</li>

    <li id="min"> </li>

    <li id="point">:</li>

    <li id="sec"> </li>

    </ul>

    </div>

    <p>來源:<a target="_blank">CSS3html5在線測試</a> 感謝:王濤</p>

    <p>更多代碼請訪問:<a target="_blank">站長技術(shù)教程網(wǎng)</a></p>

    </body>

    </html>

    更多信息請查看IT技術(shù)專欄

    更多信息請查看網(wǎng)頁制作
    易賢網(wǎng)手機網(wǎng)站地址:CSS3數(shù)字時鐘
    由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復僅供參考,敬請考生以權(quán)威部門公布的正式信息和咨詢?yōu)闇剩?/div>

    2026上岸·考公考編培訓報班

    • 報班類型
    • 姓名
    • 手機號
    • 驗證碼
    關于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點 | 投訴建議
    工業(yè)和信息化部備案號:滇ICP備2023014141號-1 云南省教育廳備案號:云教ICP備0901021 滇公網(wǎng)安備53010202001879號 人力資源服務許可證:(云)人服證字(2023)第0102001523號
    聯(lián)系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢關注公眾號:hfpxwx
    咨詢QQ:1093837350(9:00—18:00)版權(quán)所有:易賢網(wǎng)