File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717body {
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 {
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
408405 width : 180px ;
409406 height : 180px ;
410407 position : relative;
411- margin-top : 340 px ;
408+ margin-top : 40 px ;
412409 animation : yidon 5s infinite;
413410}
414411
You can’t perform that action at this time.
0 commit comments