-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
71 lines (65 loc) · 1.59 KB
/
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
71
@import url('https://fonts.googleapis.com/css2?family=Electrolize&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Pacifico&family=Roboto:ital,wght@0,100;0,300;0,400;1,500&display=swap');
body{
background: url('bg.jpg');
background-repeat: no-repeat;
width: 100vw;
height: 100vh;
/* object-fit: cover; */
background-size: cover;
overflow: hidden;
}
.container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
/* background-color: white; */
z-index: 2;
/* border: 1px solid white; */
}
#score{
/* border: 1px solid red; */
width: 700px;
height: 40px;
font-size: x-large;
padding: 1rem;
background-color: white;
/* justify-content: center; */
margin: auto;
border-radius: 12px;
text-align: center;
margin-top: 2rem;
font-family: 'Electrolize', sans-serif;
}
.grid{
position: absolute;
width: 780px;
height: 300px;
border: solid white 1px;
margin-top: 30px;
}
.block{
position: absolute;
width: 100px;
height: 25px;
background-color: blue;
/* left: 50px;
bottom: 50px; */
}
.user{
position: absolute;
width: 100px;
height: 25px;
background-color: lime;
border-radius: 8px;
/* left: 50px;
bottom: 50px; */
}
.ball{
position: absolute;
width: 20px;
height: 20px;
border-radius: 100%;
background-color: red;
}