-
Notifications
You must be signed in to change notification settings - Fork 0
/
2.css
142 lines (86 loc) · 1.62 KB
/
2.css
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
*{
margin: 0;
padding: 0;
}
.hero{
width: 100%;
height: 100vh;
position: relative;
background-image: url(background.jpg);
background-size: cover;
background-position: center;
overflow: hidden;
}
.ocean{
height: 220px;
position: absolute;
bottom: 0;
width: 100%;
left: 0;
}
.water{
height: 100%;
position: absolute;
right: 0;
animation: water 10s linear infinite;
}
@keyframes water{
0%{
transform: translateX(0);
}
100%{
transform: translateX(1000px);
}
}
.boat{
width: 350px;
position: absolute;
bottom: 200px;
left: 50%;
transform: translateX(-50%);
}
.boat img{
width: 100%;
-webkit-box-reflect: below 0 linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.6));
/* -webkit-bo(rgba(255,255,255,0.1),rgba(255,255,255,0.6)); */
animation: boat 2s linear infinite;
}
@keyframes boat{
0%{
transform: rotate(0deg);
}
25%{
transform: rotate(-3deg);
}
50%{
transform: rotate(0deg);
}
75%{
transform: rotate(3deg);
}
100%{
transform: rotate(0deg);
}
}
.cloud{
height: 250px;
position: absolute;
right: 0;
animation: cloud 10s linear infinite;
}
@keyframes cloud{
0%{
transform: translateX(0);
}
100%{
transform: translateX(500px);
}
}
#preloader{
background: rgb(12, 158, 102) url(loader.gif) no-repeat center center ;
background-size: 15%;
height: 100vh;
width: 100%;
position: fixed;
z-index: 100;
}