We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223be80 commit 6c1215dCopy full SHA for 6c1215d
special-pages/pages/onboarding/app/components/v3/Background.module.css
@@ -46,7 +46,8 @@
46
.clouds {
47
background-image: url("../../../public/assets/img/layer1.svg");
48
background-position: top right;
49
- animation-name: offscreen;
+ animation-name: offscreen-clouds;
50
+ animation-duration: 50s;
51
52
@media (prefers-color-scheme: dark) {
53
opacity: .1;
@@ -89,6 +90,7 @@
89
90
display: none
91
}
92
93
+
94
@keyframes offscreen {
95
from {
96
transform: translateX(100vw);
@@ -98,3 +100,14 @@
98
100
transform: translateX(0vw);
99
101
102
103
104
+@keyframes offscreen-clouds {
105
+ from {
106
+ /* this accounts for clouds SVG having some 'whitespace' */
107
+ transform: translateX(calc(100vw - 400px));
108
+ }
109
110
+ to {
111
+ transform: translateX(0vw);
112
113
+}
0 commit comments