-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflowing-album.css
More file actions
81 lines (75 loc) · 1.49 KB
/
flowing-album.css
File metadata and controls
81 lines (75 loc) · 1.49 KB
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
@keyframes flowingAlbum {
0% {
transform: scale(1) rotate(0deg) translate(0, 0);
filter: blur(5px);
}
25% {
transform: scale(1.2) rotate(3deg) translate(2%, 2%);
filter: blur(7px);
}
50% {
transform: scale(1.4) rotate(-3deg) translate(-2%, 1%);
filter: blur(10px);
}
75% {
transform: scale(1.2) rotate(2deg) translate(1%, -2%);
filter: blur(5px);
}
100% {
transform: scale(1) rotate(0deg) translate(0, 0);
filter: blur(7px);
}
}
.flowing-album-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -20;
}
.flowing-album {
position: absolute;
width: 120%;
height: 120%;
top: -10%;
left: -10%;
background-size: cover;
background-position: center;
animation: flowingAlbum 6s infinite;
opacity: 0.7;
mix-blend-mode: screen;
}
.flowing-album::before,
.flowing-album::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: inherit;
animation: flowingAlbum 4s infinite;
animation-delay: -10s;
}
.flowing-album::before {
filter: blur(10px);
opacity: 0.6;
mix-blend-mode: overlay;
}
.flowing-album::after {
filter: blur(20px);
opacity: 0.4;
mix-blend-mode: color-dodge;
}
.glass-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
z-index: 1;
}