1 Star 0 Fork 0

aegeango/pure-clock

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 980 Bytes
一键复制 编辑 原始数据 按行查看 历史
aegeango 提交于 2018-08-12 17:56 +08:00 . 初步完成开发
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>pure-clock</title>
<link rel="stylesheet" href="src/pure-clock.css">
<style>
.decoration-lufei {
position: absolute;
width: 100px;
height: 200px;
right: 0px;
bottom: 0px;
background: url('src/doll-lufei.gif') no-repeat;
background-size: 100%;
animation: transtalteLoop 5s ease infinite;
}
@keyframes transtalteLoop {
0% {
right: 0px;
}
50% {
right: 50px;
}
100% {
right: 0px;
}
}
</style>
</head>
<body>
<div class="pure-clock-container" id="myPureClockCon"
style="transform: scale(0.6);"></div>
<div class="decoration-lufei"></div>
<script src="src/main.js"></script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
CSS
1
https://gitee.com/aegeango/pure-clock.git
git@gitee.com:aegeango/pure-clock.git
aegeango
pure-clock
pure-clock
master

搜索帮助