generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloud-image.css
More file actions
73 lines (60 loc) · 933 Bytes
/
cloud-image.css
File metadata and controls
73 lines (60 loc) · 933 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
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
.cloud-image-wrapper {
height: 100vh;
position: relative;
}
.icon.icon-logo-big {
height: 100px;
width: 140px;
}
.cloud-image {
height: 100%;
& h1:first-of-type {
font-size: clamp(2rem, 7vw + .25rem, 5.625rem);
}
}
.cloud-image-header {
position: absolute;
width: 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 1;
z-index: 1;
}
.cloud-image-picture {
position: absolute;
top: 0;
left: 0;
max-width: 60vw;
max-height: 40vh;
animation: cloud 36s infinite;
animation-delay: 0s;
opacity: 0;
z-index: 0;
}
/* Keyframe cloud animation */
@keyframes cloud {
0% {
transform: scale(0.1);
filter: blur(10px);
opacity: 0;
}
6% {
opacity: 1;
}
13% {
filter: blur(0);
}
25% {
filter: blur(0);
opacity: 1;
}
33% {
transform: scale(1);
filter: blur(15px);
opacity: 0;
}
100% {
opacity: 0;
}
}