1+ @import url ('https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap' );
2+ * {
3+ margin : 0 ;
4+ padding : 0 ;
5+ }
6+ body {
7+ width : 100px ;
8+ height : 100vh ;
9+ background : # 0F2027 ; /* fallback for old browsers */
10+ background : -webkit-linear-gradient (to right, # 2C5364, # 203A43, # 0F2027 ); /* Chrome 10-25, Safari 5.1-6 */
11+ background : linear-gradient (to right, # 2C5364, # 203A43, # 0F2027 ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
12+ }
13+ .container {
14+ width : 400px ;
15+ height : 600px ;
16+ background : rgba (255 , 255 , 255 , 0.123 );
17+ position : absolute;
18+ top : 50% ;
19+ left : 50% ;
20+ transform : translate (-50% , -50% );
21+ border-radius : 50px ;
22+ display : flex;
23+ justify-content : center;
24+ align-items : center;
25+ flex-direction : column;
26+ color : rgba (255 , 255 , 255 , 0.562 );
27+ box-shadow : inset 0 0 50px rgba (0 , 0 , 0 , 0.171 );
28+ }
29+ .container img {
30+ width : 250px ;
31+ height : 250px ;
32+ border-radius : 50px ;
33+ }
34+ i {
35+ cursor : pointer;
36+ margin : 30px ;
37+ }
38+ .songName {
39+ font-size : 1.2rem ;
40+ margin : 15px ;font-family : 'Yusei Magic' , sans-serif;
41+ }
42+ input [type = "range" ]{
43+ width : 250px ;
44+ margin : 20px ;
45+ /* -webkit-appearance: none; */
46+ outline : none;
47+ }
48+ input [type = "range" ]::-webkit-slider-runnable-track {
49+ border-radius : 4px ;
50+ width : 100% ;
51+ height : 2px ;
52+ }
53+
54+ input [type = "range" ]::-webkit-slider-thumb {
55+ -webkit-appearance : none;
56+ height : 12px ;
57+ width : 12px ;
58+ background : rgb (255 , 255 , 255 );
59+ border-radius : 50% ;
60+ margin-top : -7px ;
61+ }
62+ .center {
63+ display : flex;
64+ justify-content : center;
65+ align-items : center;
66+ }
67+ .controls-container {
68+ width : 300px ;
69+ background : rgba (255 , 255 , 255 , 0.137 );
70+ border-radius : 20px ;
71+ flex-direction : column;
72+ margin-bottom : 50px ;
73+ box-shadow : 0 0 50px rgba (0 , 0 , 0 , 0.171 );
74+ }
75+ .controls {
76+ width : 350px ;
77+ }
0 commit comments