-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
123 lines (118 loc) · 2.3 KB
/
style.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
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #f89de1;
}
#first_button{
position: absolute;
top: 150px;
width: 150px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 20px;
background-color: rgba(252, 94, 160, 100%);
color: white;
border: 5px solid white;
text-shadow: 0 0 3px white,0 0 1px #f89de1;
box-shadow: 0 0 3px 3px white;
border-radius: 50px;
user-select: none;
transition: all 0.3s;
}
#first_button:hover{
transform: scale(1.1);
transition: all 0.3s;
}
.parts{
user-select: none;
text-align: center;
position: absolute;
top: 150px;
display: none;
color: white;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 20px;
}
#Valentine{
position: absolute;
font-size: 40px;
left: 20%;
top: 10%;
transform: rotate(45deg);
z-index: 4;
color: white;
text-shadow: 0 0 3px white,0 0 1px #f89de1;
}
.heart{
display: block;
position: absolute;
top: 100px;
width: 180px;
height: 180px;
background-color: rgba(252, 94, 160, 100%);
animation:rot45 2s infinite linear;
border-top-right-radius: 50%;
z-index: 3;
}
.heart::before,
.heart::after {
content: '';
position: absolute;
width: 180px;
height: 180px;
background-color: rgba(252, 94, 160, 100%);
border-radius: 50%;
transform: rotate(45deg);
}
.heart::before {
top: -95px;
left: -2px;
}
.heart::after {
top: 1px;
left: 95px;
}
.show{
display: none !important;
}
.hide{
transform:scale(0) !important;
transition: transform 2s !important;
}
.transparet_part{
display: block !important;
animation: transparent 4s linear;
}
@keyframes show_yourself{
0%{
transform: scale(0);
}
100%{
transform: scale(1);
}
}
@keyframes rot45 {
0%,100%{
transform: rotate(-45deg);
}
25%{
transform: rotate(-55deg);
}
75%{
transform: rotate(-35deg);
}
}
@keyframes transparent{
0%,100%{
opacity: 0;
}
50%{
opacity: 1;
}
}