Skip to content

Commit 474c9e8

Browse files
committed
Update yu.html
1 parent 1477224 commit 474c9e8

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

more/content/yu.html

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,32 @@
1616

1717
body {
1818
min-height: 100vh;
19-
display: flex;
20-
align-items: center;
21-
justify-content: center;
2219
background-color: #ff758f;
2320
overflow-x: hidden;
2421
margin: 0;
2522
padding: 0;
2623
}
2724

2825
.valentine-container {
29-
position: fixed;
30-
top: 0;
31-
left: 0;
32-
width: 100vw;
33-
height: 100vh;
26+
width: 100%;
27+
min-height: 100vh;
3428
display: flex;
29+
flex-direction: column;
3530
align-items: center;
36-
justify-content: center;
31+
justify-content: flex-start;
32+
padding: 50px 20px 50px;
3733
z-index: 9999;
3834
background-color: #ff758f;
3935
}
4036

4137
.happy-valentines {
42-
position: absolute;
43-
top: 50%;
44-
left: 50%;
45-
transform: translate(-50%, -50%);
4638
width: 450px;
4739
height: 500px;
4840
display: flex;
4941
flex-direction: column;
5042
align-items: center;
5143
justify-content: center;
44+
margin-top: 20px;
5245
}
5346

5447
.flip-card {
@@ -399,7 +392,11 @@
399392
.rose {
400393
width: 150px;
401394
height: 150px;
402-
margin-top: 280px;
395+
margin-top: 30px;
396+
}
397+
398+
.happy-valentines {
399+
margin-top: 10px;
403400
}
404401
}
405402

@@ -408,7 +405,7 @@
408405
width: 180px;
409406
height: 180px;
410407
position: relative;
411-
margin-top: 340px;
408+
margin-top: 40px;
412409
animation: yidon 5s infinite;
413410
}
414411

0 commit comments

Comments
 (0)