-
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
Feb 6, 2017
1 parent
ae2bab2
commit 8407421
Showing
3 changed files
with
519 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,53 @@ | ||
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; | ||
} | ||
|
||
/*开始与重新开始按钮*/ | ||
.start-restart { | ||
padding: .3em .8em; | ||
border: 1px solid rgba(0, 0, 0, .1); | ||
background: #58a linear-gradient(hsla(0, 0%, 100%, .2), transparent); | ||
border-radius: .2em; | ||
box-shadow: 0 .05em .25em rgba(0, 0, 0, .5); | ||
color: white; | ||
text-shadow: 0 -.05em .05em rgba(0, 0, 0, .5); | ||
font-size: 125%; | ||
line-height: 1.5; | ||
text-align: center; | ||
width: 125px; | ||
z-index: 11; | ||
left: 220px; | ||
top: 380px; | ||
position: absolute; | ||
cursor: pointer; | ||
display: none; | ||
} |
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,14 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>ninth-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> | ||
<div class="start-restart">restart</div> | ||
<script src="./index.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.