Skip to content

Commit

Permalink
添加加速下落js
Browse files Browse the repository at this point in the history
  • Loading branch information
llan committed Feb 6, 2017
1 parent cf2bd3e commit b072632
Show file tree
Hide file tree
Showing 3 changed files with 404 additions and 0 deletions.
32 changes: 32 additions & 0 deletions seventh-step/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
body {
margin: 0;
padding: 0;
}

/*当前俄罗斯方块*/
.activityModel {
border: 1px;
width: 19px;
height: 19px;
background: linear-gradient(70deg, indianred, white);
position: absolute;
}

/*已经掉落的俄罗斯方块*/
.inactiveModel {
border: 1px;
width: 19px;
height: 19px;
position: absolute;
background: linear-gradient(70deg, grey, white);
}

/*画布*/
.site {
position: absolute;
left: 200px;
top: 200px;
width: 200px;
height: 360px;
background-color: black;
}
13 changes: 13 additions & 0 deletions seventh-step/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>seventh-step</title>
<link rel='shortcut icon' type='image/x-icon' href='../favicon.ico' />
<link rel="stylesheet" href="./index.css">
</head>
<body>
<div class="site"></div>
<script src="./index.js"></script>
</body>
</html>
Loading

0 comments on commit b072632

Please sign in to comment.