-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
59 lines (51 loc) · 904 Bytes
/
style.css
File metadata and controls
59 lines (51 loc) · 904 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
html, body {
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-image: url('imgs/bg.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
font-family: Arial, Helvetica, sans-serif;
}
header{
background-color: rgb(128, 128, 128, 0.5);
}
.gamediv{
display: grid;
grid-template-columns: 2;
grid-template-rows: 2;
gap: 10px;
width: 600px;
height: 600px;
margin: auto;
}
.griditem {
width: 100%;
height: 100%;
object-fit: cover;
}
#color1{
grid-column: 1;
grid-row: 1;
}
#color2{
grid-column: 2;
grid-row: 1;
}
#color3{
grid-column: 1;
grid-row: 2;
}
#color4{
grid-column: 2;
grid-row: 2;
}
#startbtn {
margin-bottom: 35px;
padding: 10px 20px;
font-size: 24px;
}