forked from harim061/majorFront
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.css
226 lines (188 loc) · 3.24 KB
/
footer.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
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
@import url('https://fonts.googleapis.com/css2?family=Arima:wght@600&family=Jua&family=Merienda:wght@700&display=swap');
body #wrapper {
position: absolute;
display: flex;
min-height: 100vh;
width: 100%;
height: 600px;
z-index: 20;
top: 100px;
}
footer {
clear:both;
transform: translateY(-20%);
bottom: 0;
height: 250px;
width: 100%;
content:' ';
background: linear-gradient(to bottom,#3586ff 10%,#3682f5 30%, #154792 80%, transparent);
min-height: 100px;
padding: 20px 50px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: 0 auto;
}
footer .social_icon,
footer .menu {
margin: 10px 10px;
}
/*
footer .social_icon,
footer .menu {
position: relative;
display: flex;
justify-content: center;
align-items: center;
margin: 10px 10px;
flex-wrap: wrap;
}
footer .social_icon li,
footer .menu li {
list-style: none;
color: #fff;
}
footer .social_icon li {
padding: 0;
left: -70%;
position: relative;
}
footer .social_icon li a {
font-size: 2em;
color: #fff;
margin: 0 10px;
display: inline-block;
transition: 0.5s;
}
footer .social_icon li a:hover {
transform: translateY(-10px);
}
footer .menu li a {
font-size: 1.2em;
color: #fff;
margin: 0 10px;
display: inline-block;
text-decoration: none;
opacity: 0.75;
}
footer .menu li a:hover {
opacity: 1;
}
*/
footer p {
color: #fff;
text-align: center;
margin-top: 15px;
margin-bottom: 10px;
font-size: 1.1em;
z-index: 30;
}
footer .wave {
position: absolute;
top: -70px;
left: 0;
width: 100%;
height: 100px;
background: url(./images/wave.png);
background-size: 1000px 100px;
}
footer .wave#wave1 {
z-index: 1000;
opacity: 1;
bottom: 0;
animation: animateWave 4s linear infinite;
}
footer .wave#wave2 {
z-index: 999;
opacity: 0.2;
bottom: 10px;
animation: animateWave_02 4s linear infinite;
}
footer .wave#wave3 {
z-index: 1000;
opacity: 0.8;
bottom: 15px;
animation: animateWave 3s linear infinite;
}
footer .wave#wave4 {
z-index: 999;
opacity: 0.7;
bottom: 20px;
animation: animateWave_02 3s linear infinite;
}
@keyframes animateWave {
0%
{
background-position-x: 1000px;
}
100%
{
background-position-x: 0px;
}
}
@keyframes animateWave_02 {
0%
{
background-position-x: 0px;
}
100%
{
background-position-x: 1000px;
}
}
@media screen and (max-width:1799px) {
/*데스크탑*/
footer {
position: relative;
top: 30px;
}
footer p {
position: relative;
bottom: -100px;
}
}
@media screen and (max-width:1280px) {
/*태블릿 가로*/
footer {
position: relative;
top: 80px;
}
footer p {
position: relative;
bottom: -100px;
}
}
@media screen and (max-width:899px) {
/*태블릿 세로*/
footer {
position: relative;
top: 200px;
}
footer p {
position: relative;
bottom: -50px;
}
}
@media screen and (max-width:599px) {
/*모바일 가로*/
footer {
position: relative;
bottom: 30px;
}
footer p {
position: relative;
bottom: -50px;
}
}
@media screen and (max-width:420px) {
/*모바일 세로*/
footer {
position: relative;
bottom: 30px;
}
footer p {
position: relative;
bottom: -130px;
}
}