实现两种时钟效果
573人加入学习
(3人评价)
Future老师带你使用JS和JQuery实现两种时钟效果

完成于2019-07-13 开发工具WebStorm10.0.3 Jquery3.4.2

价格 免费
<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>数码管时钟</title>
    <style type="text/css">
        .ledback{
            background:url("./imgs/LED.png") 0px 0px no-repeat;
            background-size:100% 100%;
            width:740px;
            height:300px;
            margin:auto;
        }
        .top1{
            width:100%;
            height:15%;
            background-color:red;
            opacity:0.6;
        }
        .timediv{
            width:100%;
            height:38%;
            background-color:green;
            opacity:0.6;
        }
        .datediv{
            width:100%;
            height:34%;
            background-color:blue;
            opacity:0.6;
        }
    </style>
</head>
<body>
    <div class="ledback">
        <div class="top1"></div>
        <div class="timediv"></div>
        <div class="datediv"></div>
    </div>
</body>
</html>

 

[展开全文]

授课教师

专注Unity的VR开发

课程特色

下载资料(1)
视频(22)

学员动态