-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
48 lines (47 loc) · 823 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
*{
padding: 0;
margin: 0;
}
aside{
height:100vh;
width:10vw;
background-color:rgb(255, 255, 255);
float: left;
position: relative;
}
.container{
height:100vh;
width:90vw;
background-color: rgb(29, 29, 29);
margin-left: 10vw;
position: relative;
}
.grid{
width:112vh;
height: 96vh;
display: flex;
flex-wrap: wrap;
background-color: black;
position:absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);
}
.square{
width: 16vh;
height: 16vh;
background-size: contain;
}
.square_win{
background-color: white;
}
.square:hover{
cursor: pointer;
}
img{
width: 90%;
position: absolute;
z-index: 1;
margin: auto;
top: 0; right: 0; bottom: 0; left: 0;
}