-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2048.css
More file actions
64 lines (59 loc) · 1023 Bytes
/
Copy path2048.css
File metadata and controls
64 lines (59 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
*{
margin: 0;
padding: 0;
}
header {
display: block;;
margin: 0 auto;
width: 500px;
text-align: center;
}
header h1{
font-family: "微软雅黑";
font-size: 60px;
font-weight: bold;
}
header #newgamebutton {
display: block;
margin: 20px auto;
width: 100px;
padding: 10px 10px;
background-color: #8f7a66;
font-family: "微软雅黑";
color: #fff;
border-radius: 10px;
text-decoration: none;
}
header #newgamebutton:hover {
background-color: #9f8b77;
}
header p{
font-family: "微软雅黑";
font-size: 25px;
margin:20px auto;
}
#grid-container {
position: relative;
margin: 20px auto;
padding: 20px;
width: 460px;
height: 460px;
background-color: #bbada0;
border-radius: 10px;
font-family: "微软雅黑";
}
#grid-container .grid-cell {
position: absolute;
width: 100px;
height: 100px;
border-radius: 6px;
background-color: #ccc0b3;
}
#grid-container .number-cell {
position:absolute;
border-radius: 6px;
font-weight:bold;
font-size:60px;
line-height:100px;
text-align:center;
}