-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
executable file
·47 lines (41 loc) · 882 Bytes
/
index.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html{
overflow-x: hidden;
}
body{
width: 100%;
height: 100vh;
display: flex;
background: linear-gradient(to bottom right, rgba(255, 0, 0, 0.26), rgba(28, 28, 151, 0.267), rgba(0, 128, 0, 0.397));
justify-content: center;
align-items: center;
}
.grid{
position: relative;
width: 640px;
height: 300px;
background: radial-gradient(to bottom right, rgba(70, 0, 0, 0.26), rgba(1, 1, 44, 0.267), rgba(0, 182, 0, 0.397));
border: 1px solid black;
background-color: rgb(197, 197, 197);
}
.block,
.userBlock{
position: absolute;
width: 100px;
height: 20px;
background: rgb(83, 0, 0);
}
.userBlock{
background: rgb(0, 0, 39);
}
.ball{
position: absolute;
width: 20px;
height: 20px;
border-radius: 50%;
background: rgb(17, 0, 0);
}