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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
.boat-loader {
position: relative;
width: 120px;
height: 90px;
overflow: hidden;
border-radius: 14px;
background: linear-gradient(180deg, #1b3a4b 0%, #14293a 60%, #0d1b2a 100%);
}
.wave {
position: absolute;
left: 0;
width: 200%;
height: 14px;
background-repeat: repeat-x;
background-size: 40px 14px;
}
.wave-back {
bottom: 26px;
background-image: radial-gradient(ellipse 20px 7px at 10px 0, rgba(120,180,200,0.25) 50%, transparent 52%);
animation: scroll-left 3.4s linear infinite;
opacity: 0.5;
}
.wave-front {
bottom: 18px;
background-image: radial-gradient(ellipse 20px 8px at 20px 2px, rgba(160,210,225,0.4) 50%, transparent 52%);
animation: scroll-left 2s linear infinite reverse;
}
@keyframes scroll-left {
from {
transform: translateX(0);
}
to {
transform: translateX(-40px);
}
}
.boat {
position: absolute;
bottom: 24px;
left: 50%;
width: 44px;
height: 34px;
transform-origin: 50% 100%;
animation: bob 1.8s ease-in-out infinite, rock 1.8s ease-in-out infinite;
}
@keyframes bob {
0%, 100% {
margin-left: -22px;
margin-top: 0px;
}
50% {
margin-left: -22px;
margin-top: -6px;
}
}
@keyframes rock {
0%, 100% {
transform: rotate(-6deg);
}
50% {
transform: rotate(6deg);
}
}
.hull {
position: absolute;
bottom: 0;
left: 0;
width: 44px;
height: 14px;
}
.sail {
position: absolute;
bottom: 12px;
left: 18px;
width: 20px;
height: 22px;
transform-origin: bottom left;
animation: flap 1.1s ease-in-out infinite;
}
@keyframes flap {
0%, 100% {
transform: skewX(-6deg);
}
50% {
transform: skewX(4deg);
}
}
.ripple {
position: absolute;
bottom: 22px;
left: 50%;
width: 6px;
height: 6px;
margin-left: -3px;
border: 1.5px solid rgba(200,225,235,0.6);
border-radius: 50%;
animation: ripple-grow 1.8s ease-out infinite;
}
.ripple.r2 {
animation-delay: 0.6s;
}
.ripple.r3 {
animation-delay: 1.2s;
}
@keyframes ripple-grow {
0% {
width: 6px;
height: 3px;
opacity: 0.7;
}
100% {
width: 46px;
height: 12px;
opacity: 0;
}
}
.cloud {
position: absolute;
top: 12px;
width: 22px;
height: 7px;
background: rgba(255,255,255,0.12);
border-radius: 10px;
}
.cloud1 {
left: -30px;
animation: drift 9s linear infinite;
}
.cloud2 {
left: -30px;
top: 22px;
width: 14px;
height: 5px;
animation: drift 13s linear infinite 3s;
}
@keyframes drift {
from {
transform: translateX(0);
}
to {
transform: translateX(150px);
}
}
You need to sign in before you can write a comment.