-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathstyle.css
90 lines (79 loc) · 1.43 KB
/
style.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
border: none;
font-family: "Poppins", sans-serif;
}
body {
width: 100vw;
height: 100vh;
background-color: lightslategray;
color: white;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
h1 {
color: white;
font-size: 32px;
padding: 5px 50px;
background-color: black;
border-radius: 50px;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 3px;
word-spacing: 3px;
}
.container {
display: grid;
grid-template-columns: repeat(3, auto);
border: 2px solid black;
}
.box {
width: 120px;
height: 120px;
border: 2px solid black;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
font-size: 25px;
}
.box img {
width: 75px;
}
.status {
margin: 20px 0;
padding: 10px 40px;
border-radius: 50px;
font-size: 20px;
font-weight: 500;
background-color: white;
color: black;
}
button {
padding: 10px 20px;
font-size: 20px;
font-weight: 500;
color: white;
background-color: black;
border-radius: 5px;
cursor: pointer;
}
button:active {
transform: scale(0.9);
}
.win {
animation: winAnim ease-in-out 1s infinite;
}
@keyframes winAnim {
0% {
background-color: green;
}
100% {
background-color: lightgreen;
}
}