-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
llan
committed
Jan 26, 2017
1 parent
b96dca8
commit 68c0591
Showing
3 changed files
with
399 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>sixth-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> |
Oops, something went wrong.