-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (70 loc) · 1.19 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
body {
/*background-image: url("https://audio.andyp4245.repl.co/bg.jpg");*/
background-color: skyblue;
font-family: system-ui;
font-color: black;
/*text-align: center;*/
padding: 120px;
}
h1 {
font-family: cursive;
text-align: center;
font-size: 2.5em;
}
#song_list {
background: white;
border-radius: 10px;
}
#play-btn {
position: relative;
padding: 2.5rem;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
border-radius: 10px;
color: white;
font-size: 2.5em;
z-index: 2;
}
#play-btn::before {
content: "";
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 300%;
height: 100%;
background-image: linear-gradient(
145deg,
#f60000,
#cd00cd,
#ff8c00,
#ffee00,
#4de94c,
#f60000,
#cd00cd,
#ff8c00,
#ffee00,
#4de94c,
#f60000,
#cd00cd
);
border-radius: 10px;
animation: animate 1.5s linear infinite;
}
@keyframes animate {
to {
transform: translateX(-50%);
}
}
#play-btn::after {
content: "";
z-index: -1;
background: black;
position: absolute;
width: calc(100% - 1rem);
height: calc(100% - 1rem);
border-radius: 10px;
}