代码拉取完成,页面将自动刷新
同步操作将从 demons/Jump 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>跳一跳</title>
<style>
html,body{
margin: 0;padding: 0;
-webkit-user-select: none;
overflow: hidden;
}
.mask{
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
position: fixed;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.4);
}
.content{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 500px;
height: 500px;
border-radius: 20px;
background: rgba(0,0,0,0.4);
border: 5px solid rgba(255,255,255,0.05);
}
.score-container{
color: #ffffff;
text-align: center;
}
.title{
font-size: 20px;
font-weight: bold;
color: rgba(255,255,255,0.6);
}
.score{
font-size: 100px;
font-weight: bold;
margin-top: 20px;
}
button.restart{
width: 200px;
height: 40px;
border-radius: 20px;
background: white;
border: none;
font-weight: bold;
font-size: 20px;
cursor: pointer;
}
button.restart:hover{
color:#232323;
}
.info{
margin: 20px 0;
position: absolute;
text-align: center;
opacity: 0.2;
width:100%;
}
.gaming-score{
margin-top: 50px;
color: #FFF;
font-size: 26px;
}
audio{
margin-top: 10px;
}
</style>
</head>
<body>
<div class="mask">
<div class="content">
<div class="score-container">
<p class="title">本次得分</p>
<h1 class="score">0</h1>
</div>
<button class="restart">
重新开始
</button>
</div>
</div>
<div class="info">
<div class="gaming-score">
得分:<span class="current-score">0</span>
</div>
</div>
</body>
</html>
<script src="js/three.min.js"></script>
<script src="js/game.js"></script>
<script src="js/main.js"></script>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。