-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
66 lines (56 loc) · 1.17 KB
/
style.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
*{
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body{
background-color: lightsalmon;
}
#container {
position: relative;
}
#ball {
width: 20px;
height: 20px;
background-color: red;
position: fixed;
top: 20px;
left: 52.5%;
border-radius: 50%;
box-shadow: 0px 0px 5px 4px rgb(248, 68, 68);
}
#rod1, #rod2 {
width: 200px;
height: 20px;
position: fixed;
left: 50%;
border-radius: 25px;
text-align: center;
color: white;
font-weight: bold;
}
#rod1 {
background-color: blue;
top: 0px;
box-shadow: 0px 0px 10px 7px rgb(8, 8, 248);
}
#rod2 {
background-color: blueviolet;
bottom: 0px;
box-shadow: 0px 0px 10px 3px rgb(146, 61, 226);
}
#rules{
margin: 10% auto;
position: relative;
width: 280px;
background-color: rgb(252, 217, 239);
padding: 1px 15px;
box-shadow: 7px 12px 35px 4px rgb(163, 136, 156);
}
#rules p{
font-size: 1.2rem;
font-weight: 500;
background-color: transparent;
}
#rules h2{
background-color: transparent;
}