js实现一款华为太空手表时钟效果代码

代码语言:html

所属分类:其他

代码描述:js实现一款华为太空手表时钟效果代码,显示了天气、日期、健康、步行、时间等信息。

代码标签: 华为 太空 手表 时钟

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <style>
        .jun-meter {
    position: relative;
    width: 640px;
    height: 640px;
    background-image: url("//repo.bfw.wiki/bfwrepo/images/bg/watch/ring.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    margin: auto;
    margin-top: 7%;
}

.jun-time-rect {
    position: absolute;
    width: 30px;
    height: 80px;
    left: 275px;
    top: 180px;
    background-image: url("//repo.bfw.wiki/bfwrepo/images/bg/watch/rect.svg");
    background-size: 40px 40px;
}

.jun-time-h-h {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 140px;
    top: 170px;
    background-image: url("//repo.bfw.wiki/bfwrepo/images/bg/watch/8.svg");
    background-repeat: no-repeat;
    background-size: 100%;
}

.jun-time-h-l {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 200px;
    top: 170px;
    background-image: url("//repo.bfw.wiki/bfwrepo/images/bg/watch/8.svg");
    background-repeat: no-repeat;
    background-size: 100%;
}

.jun-time-m-h {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 290px;
    top: 170px;
    background-image: url("//repo.bfw.wiki/bfwrepo/images/bg/watch/8.svg");
    background-repeat: no-repeat;
    background-size: 100%;
}

.jun-time-m-l {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 350px;
    top: 170px;
    background-image: url("//repo.bfw.wiki/bfwrepo/images/bg/watch/8.svg");
    background-repe.........完整代码请登录后点击上方下载按钮下载查看

网友评论0