-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
70 lines (62 loc) · 988 Bytes
/
styles.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
body{
background: #333;
}
.container{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.mid-container{
display: flex;
gap: 5px;
}
#tetris {
background-color: #444;
position: relative;
color: #fff;
}
#info {
width: 110px;
padding: 20px;
background-color: #555;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
#next-shape-container {
position: relative;
background-color: transparent;
border: 1px solid white;
width: 110px;
height: 110px;
display: flex;
justify-content: center;
align-items: center;
}
.btn {
width: 110px;
height: 30px;
background-color: #333;
color: white;
border: none;
}
#start:hover{
width: 110px;
height: 30px;
background-color: #444;
color: white;
border: none;
}
#restart{
animation: restartBtnAnimation 1s linear infinite;
}
@keyframes restartBtnAnimation {
from {
border: none;
}
to {
border: 2px solide orange;
}
}