generated from Newton-School/html-css-js-project-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
slider_style.css
107 lines (89 loc) · 1.84 KB
/
slider_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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.main_div{
width: 100vw;
height: 100vh;
background-color: antiquewhite;
display: grid;
place-items: center;
}
.music_container{
width: 35rem;
height: 55rem;
background-color: aquamarine;
border-radius: 2rem;
box-shadow: 0 1.2rem 3rem 0.5rem rgba(0, 0, 0, 0.2);
padding: 3rem;
text-align: center;
}
.music_container #title{
color: black;
font-size: 2.5rem;
text-transform: uppercase;
}
.music_container #artist{
color: rgb(64, 62, 62);
font-size: 2.5rem;
text-transform: uppercase;
}
.img-container{
width: 25rem;
height: 25rem;
margin: auto;
}
img{
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
.music_controls{
width: 20rem;
display: flex;
justify-content: space-between;
margin: auto;
margin-top: 3 rem;
align-items: center;
}
.music_controls .fas{
color: black;
font-size: 2rem;
cursor: pointer;
filter: drop-shadow(0 1.2rem 3rem 0.5rem rgba(0,0,0,0.4));
}
.music_controls .main_button{
width: 2rem;
height: 2rem;
border-radius: 50%;
background-color: black;
color: white;
display: flex;
justify-content: center;
align-items: center;
}
.music_controls .fas:hover{
color: grey;
}
.music_controls .fas-play:hover{
background-color: white;
color: black;
}
i.fa-solid.fa-play.main_button:hover{
background-color: white;
color: black;
box-shadow: 0 1rem 2rem 0.2rem rgba(0, 0, 0, 0.4);
}
.anime{
animation: rotatePlayer 5s linear infinite ;
}
@keyframes rotatePlayer {
from{
transform: rotate(0deg);
}
to{
transform: rotate(360deg);
}
}