-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
48 lines (47 loc) · 903 Bytes
/
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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
height: 100vh;
width: 100vw;
/*background-color: lightblue;*/
background: url(https://media.giphy.com/media/t97z6I8fNXhi8/giphy-downsized.gif);
}
h2 {
text-align: center;
font-family: Helvetica, sans-serif;
color: black ;
border: 2px solid black;
background: linear-gradient(yellow,red);
}
#info{
text-align: center;
color: white;
}
#ball {
/*background: linear-gradient(red, blue);*/
/*background: radial-gradient(circle at center, darkgrey 0, grey , lightgrey 100%);*/
height: 50px;
width: 50px;
/*border-radius: 50px;
border: 2px solid black;*/
position: fixed;
}
#paddle1 {
width: 20px;
height: 120px;
border-radius: 30%;
background: blue;
border: 2px solid black;
position: fixed;
}
#paddle2 {
width: 20px;
height: 120px;
background: blue;
border-radius: 30%;
border: 2px solid black;
position: fixed;
}