-
Notifications
You must be signed in to change notification settings - Fork 1
/
cake.css
277 lines (248 loc) · 5.16 KB
/
cake.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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
@import url(https://fonts.googleapis.com/css?family=Lato:300italic);
.cake{
display: none;
}
body {
width: 98%;
height: 100%;
background-color: #000000;
background-image: url("background.jpg");
/* background-color: #57BDDB;
background: -webkit-linear-gradient(90deg, #4CB8C4 10%, #3CD3AD 90%);
background: -moz-linear-gradient(90deg, #4CB8C4 10%, #3CD3AD 90%);
background: -ms-linear-gradient(90deg, #4CB8C4 10%, #3CD3AD 90%);
background: -o-linear-gradient(90deg, #4CB8C4 10%, #3CD3AD 90%);
background: linear-gradient(90deg, #4CB8C4 10%, #3CD3AD 90%);
*/
background-size: cover;
}
.design1{
top: 0%;
position: absolute;
}
.design2{
margin-top: 85%;
right: 0%;
width: 26%;
position: absolute;
}
.design3{
top: 0%;
position: absolute;
}
.design4{
margin-top: 85%;
left: 4%;
width: 26%;
position: absolute;
}
#name {
top: 80%;
left: 30%;
text-align: center;
position: absolute;
}
#name h1 strong {
padding-top: 10px;
font: 600 3.5em "Lato";
color: #ea4c4c;
}
.bannar {
left: 14%;
position: absolute;
width: 70%;
-webkit-transform:translate(0px,-500px);
-moz-transform:translate(0px,-500px);
-o-transform:translate(0px,-500px);
-ms-transform:translate(0px,-500px);
transform:translate(0px,-500px);
}
.bannar-come {
-webkit-animation: bannar_come linear 2s;
-webkit-transform:translate(0px,0px);
-moz-animation: bannar_come linear 2s;
-moz-transform:translate(0px,0px);
-o-animation: bannar_come linear 2s;
-o-transform:translate(0px,0px);
-ms-animation: bannar_come linear 2s;
-ms-transform:translate(0px,0px);
animation: bannar_come linear 2s;
transform:translate(0px,1000px);
}
@-webkit-keyframes bannar_come {
0%{
-webkit-transform:translate(0px,-1000px);
}
33%{
-webkit-transform:translate(0px,0px);
-webkit-transform:rotate(10deg);
/*-webkit-transform:scale(1.5);*/
}
66% {
-webkit-transform:translate(0px,100px);
-webkit-transform:rotate(-10deg);
}
100% {
-webkit-transform:translate(0px,0px);
}
}
@-moz-keyframes bannar_come {
0%{
-moz-transform:translate(0px,-1000px);
}
33%{
-moz-transform:translate(0px,0px);
-moz-transform:rotate(10deg);
/*-webkit-transform:scale(1.5);*/
}
66% {
-moz-transform:translate(0px,100px);
-moz-transform:rotate(-10deg);
}
100% {
-moz-transform:translate(0px,0px);
}
}
@-o-keyframes bannar_come {
0%{
-o-transform:translate(0px,-1000px);
}
33%{
-o-transform:translate(0px,0px);
-o-transform:rotate(10deg);
/*-webkit-transform:scale(1.5);*/
}
66% {
-o-transform:translate(0px,100px);
-o-transform:rotate(-10deg);
}
100% {
-o-transform:translate(0px,0px);
}
}
@-ms-keyframes bannar_come {
0%{
-ms-transform:translate(0px,-1000px);
}
33%{
-ms-transform:translate(0px,0px);
-ms-transform:rotate(10deg);
/*-webkit-transform:scale(1.5);*/
}
66% {
-ms-transform:translate(0px,100px);
-ms-transform:rotate(-10deg);
}
100% {
-ms-transform:translate(0px,0px);
}
}
@keyframes bannar_come {
0%{
transform:translate(0px,-1000px);
}
33%{
transform:translate(0px,1000px);
/*-webkit-transform:scale(1.5);*/
}
66%{
transform:translate(0px,850px);
/*-webkit-transform:scale(1.5);*/
}
100% {
transform:translate(0px,1000px);
}
#cake {
display: block;
position: relative;
margin: 15em auto 0 auto;
}
/* ============================================== Candle
*/
.velas {
background: #ffffff;
border-radius: 10px;
position: absolute;
top: 228px;
left: 50%;
margin-left: -6px;
margin-top: -8.33333333px;
width: 5px;
height: 35px;
transform: translateY(-300px);
backface-visibility: hidden;
animation: in 500ms 6s ease-out forwards;
}
.velas:after,
.velas:before {
background: rgba(255, 0, 0, 0.4);
content: "";
position: absolute;
width: 100%;
height: 2.22222222px;
}
.velas:after {
top: 25%;
left: 0;
}
.velas:before {
top: 45%;
left: 0;
}
/* ============================================== Fire================================*/
.fuego {
border-radius: 100%;
position: absolute;
top: -20px;
left: 50%;
margin-left: -2.6px;
width: 6.66666667px;
height: 18px;
}
.fuego:nth-child(1) {
animation: fuego 2s 6.5s infinite;
}
.fuego:nth-child(2) {
animation: fuego 1.5s 6.5s infinite;
}
.fuego:nth-child(3) {
animation: fuego 1s 6.5s infinite;
}
.fuego:nth-child(4) {
animation: fuego 0.5s 6.5s infinite;
}
.fuego:nth-child(5) {
animation: fuego 0.2s 6.5s infinite;
}
/* ============================================== Animation Fire
*/
@keyframes fuego {
0%, 100% {
background: rgba(254, 248, 97, 0.5);
box-shadow: 0 0 40px 10px rgba(248, 233, 209, 0.2);
transform: translateY(0) scale(1);
}
50% {
background: rgba(255, 50, 0, 0.1);
box-shadow: 0 0 40px 20px rgba(248, 233, 209, 0.2);
transform: translateY(-20px) scale(0);
}
}
@keyframes in {
to {
transform: translateY(0);
}
}
.conti{
opacity: 0;
animation: fade 10s infinite;
animation-delay: 7s;
}
@keyframes fade{
0%{
opacity: 1;
}
100%{
opacity: 1;
}
}