-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanna.css
118 lines (109 loc) · 3.38 KB
/
anna.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
html{
background-color: #e8e3dd;
}
header{
text-align: center;
font-family: 'Rochester', cursive;
font-size: 60px;
color: #B9496D;
}
#beMyValentineText{ text-align: center;
font-family: 'Rochester', cursive;
font-size: 80px;
font-weight: normal;
color: white;
position:absolute;
top:15%;
left: 40.5%;
z-index:4;
animation: beatT 0.7s ease 0s infinite normal;
}
.Girl{
position: absolute;
left: 3%;
text-align: left;
}
.Boy{
text-align: right;
position: absolute;
right: 3%;
}
.Boy input{width: 20%;height: 50px;opacity: 0.5;font-size: 40px;margin: -0.5%;}
.Girl input{width: 20%;height: 50px;opacity: 0.5;font-size: 40px;margin: -0.5%;}
@-webkit-keyframes beat {
0% {-webkit-transform: scale(1) rotate(225deg); -webkit-box-shadow:0 0 40px rgba(213,9,60,1);}
50% {-webkit-transform: scale(1.1) rotate(225deg); -webkit-box-shadow:0 0 70px rgba(213,9,60,0.6);}
100% {-webkit-transform: scale(1) rotate(225deg); -webkit-box-shadow:0 0 40px rgba(213,9,60,1);}
}@-webkit-keyframes beatT {
0% {-webkit-transform: scale(1) rotate(360deg); }
50% {-webkit-transform: scale(1.1) rotate(360deg);}
100% {-webkit-transform: scale(1) rotate(360deg); }
}
@-moz-keyframes beat {
0% {-moz-transform: scale(1) rotate(225deg); -moz-box-shadow:0 0 40px rgba(213,9,60,1);}
50% {-moz-transform: scale(1.1) rotate(225deg); -moz-box-shadow:0 0 70px rgba(213,9,60,0.6);}
100% {-moz-transform: scale(1) rotate(225deg); -moz-box-shadow:0 0 40px rgba(213,9,60,1);}
}@-moz-keyframes beatT {
0% {-moz-transform: scale(1) rotate(0deg); }
50% {-moz-transform: scale(1.1) rotate(0deg); }
100% {-moz-transform: scale(1) rotate(0deg); }
}
@keyframes beat {
0% {transform: scale(1) rotate(225deg); box-shadow:0 0 40px #d5093c;}
50% {transform: scale(1.1) rotate(225deg); box-shadow:0 0 70px #d5093c;}
100% {transform: scale(1) rotate(225deg); box-shadow:0 0 40px #d5093c;}
}@keyframes beatT {
0% {transform: scale(1) rotate(0deg); }
50% {transform: scale(1.1) rotate(0deg); }
100% {transform: scale(1) rotate(0deg); }
}
#chest {
position:relative;
width:500px;
height:450px;
/* margin-top: -22%;
margin-left: 30%;*/
margin:0 auto;
}
.heart {
position:absolute;
z-index:2;
background: -moz-linear-gradient(-90deg, #F50A45 0%, #d5093c 40%);
background: -webkit-gradient(linear, right 50%, left 50%, color-stop(0%,#F50A45), color-stop(40%,#d5093c));
background: -webkit-linear-gradient(-90deg, #F50A45 0%,#d5093c 40%);
background: linear-gradient(-90deg, #F50A45 0%,#d5093c 40%);
-webkit-animation: beat 0.7s ease 0s infinite normal;
-moz-animation: beat 0.7s ease 0s infinite normal;
animation: beat 0.7s ease 0s infinite normal;
}
.heart.center {
background: -moz-linear-gradient(-45deg, #B80734 0%, #d5093c 40%);
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#B80734), color-stop(40%,#d5093c));
background: -webkit-linear-gradient(-45deg, #B80734 0%,#d5093c 40%);
background: linear-gradient(-45deg, #B80734 0%,#d5093c 40%);
}
.heart.top {
z-index:3;
}
.side {
top:50px;
width:220px;
height:220px;
-moz-border-radius: 220px;
-webkit-border-radius: 220px;
border-radius: 220px;
}
.center {
width:210px;
height:210px;
bottom:100px;
left:145px;
font-size:0;
text-indent:-9999px;
}
.left {
left:62px;
}
.right {
right:62px;
}