bg-music.scss
550 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
36
37
@keyframes rotating {
0% {
transform: rotate(0deg)
}
to {
transform: rotate(1turn)
}
}
@mixin bg-music-icon {
position: absolute;
z-index: 200;
width: 30px;
height: 30px
}
.bg-music-wrapper {
right: 0;
top: 0;
@include bg-music-icon;
.bg-music-btn {
@include bg-music-icon;
right: 0;
top: 0;
border-radius: 15px;
background-image: url(../bg-music.svg);
background-size: contain;
background-repeat: no-repeat;
&.rotate {
animation: rotating 1.2s linear infinite;
}
}
}