-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
72 lines (66 loc) · 1.24 KB
/
style.css
File metadata and controls
72 lines (66 loc) · 1.24 KB
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root{
--winning-blocks: #2d414b;
}
body{
color: #f70909;
font-family: 'vardan', sans-serif;
}
h1{
font-size: 54px;
text-transform: uppercase;
}
.container{
padding: 40px;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #37505C;
}
#gameboard{
width: 500px;
/* height: 500px; */
display: flex;
flex-wrap: wrap;
/* overflow: hidden; */
margin-top: 50px;
/* white-space: nowrap; */
/* align-items: center; */
}
.box{
height: 150px;
width: 150px;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
color: rgb(255, 4, 0);
border-right: 2px solid ;
border-bottom:2px solid ;
}
.box:nth-child(3n){
border-right: none;
}
.box:nth-child(6) ~ .box{
border-bottom:none ;
}
button{
padding: 10px 40px;
border-radius: 8px;
/* margin-left:-10px ; */
background-color: #e1371d;
font-size: 18px;
transition: 250ms transform;
/* font-weight: 400; */
/* text-transform: uppercase; */
}
button:hover{
cursor: pointer;
transform: translateY(-2px);
}