jquery益智类管道旋转拼接游戏代码

代码语言:html

所属分类:游戏

代码描述:jquery益智类管道旋转拼接游戏代码,点击管道进行旋转,拼接打通后即可进入下一关。

代码标签: 旋转 拼接 游戏

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

<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Rotation Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
    body {
  font-family:'Source Sans Pro', 'Helvetica Neue';
  font-size:16px;
  background:#000;
  color:#fff;
}
body.light {
  background:#fff;
  color:#111;
}
#toolbar {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  line-height:25px;
  padding:10px;
  box-sizing:border-box;
  -webkit-transition:0.15s;
  transition:0.15s;
  opacity:0;
  z-index:999999999;
  -webkit-animation:3s toolbar ease-in-out;
          animation:3s toolbar ease-in-out;
}
#toolbar:hover {
  opacity:1;
}
@-webkit-keyframes "toolbar" {
  0%,50%{opacity:1}
}
@keyframes "toolbar" {
  0%,50%{opacity:1}
}
#theme {
  padding-right:15px;
  float:left;
}
#toolbar .link{
  float:right;
}
#toolbar a {
  color:inherit;
  text-decoration:none;
}
#win,
#finished{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:inherit;
  color:inherit;
  z-index:9999;
  display:none;
}
#win .text,
#finished .text {
  position:absolute;
  top:50%;
  left:50%;
  font-size:40px;
  font-weight:100;
  -webkit-transform:translate3d(-50%,-50%,0);
          transf.........完整代码请登录后点击上方下载按钮下载查看

网友评论0