-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
53 lines (48 loc) · 880 Bytes
/
index.css
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
* {
box-sizing: border;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
body {
background-color: #ccc;
overflow: hidden;
}
.board {
position: absolute;
top: 10px;
left: 10px;
right: 10px;
bottom: 10px;
cursor: pointer;
cursor: hand;
}
.cell {
position: absolute;
height: 100px;
width: 100px;
border-radius: 20px;
background-color: #ffe;
}
.tile {
text-align: center;
line-height: 80px;
font-size: 40px;
font-family: sans-serif;
background-color: #88e;
position: absolute;
height: 80px;
width: 80px;
border-radius: 10px;
z-index: 1;
}
.score {
font-family: sans-serif;
position: absolute;
bottom: 10px;
left: 10px;
right: 10px;
}