-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStylecss.css
More file actions
35 lines (32 loc) · 793 Bytes
/
Copy pathStylecss.css
File metadata and controls
35 lines (32 loc) · 793 Bytes
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
#playButton {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 15px 30px;
font-size: 18px;
border: none;
border-radius: 5px;
background: linear-gradient(to bottom right, #6699ff, #9900cc);
color: #fff;
cursor: pointer;
}
#playButton:hover {
background: linear-gradient(to bottom right, #3366cc, #660099);
}
@keyframes movingBackground {
0% {
background-position: 0% 0%;
}
50% {
background-position: 100% 100%;
}
100% {
background-position: 0% 0%;
}
}
body {
animation: movingBackground 4s linear infinite;
background: linear-gradient(to bottom right, #4d4d4d, #4400ff);
background-size: 100% 200%;
}