-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheartbeat.css
48 lines (42 loc) · 925 Bytes
/
heartbeat.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
.heart {
background: #222;
color: red;
font-family: Verdana;
font-size: 256px;
line-height: 384px;
margin: 48px 0;
text-shadow: 0 0 30px rgba(255,255,255,.1);
}
@keyframes beat
{
0% {font-size: 256px}
35% {font-size: 384px}
100% {font-size: 256px}
}
@-moz-keyframes beat
{
0% {font-size: 256px}
35% {font-size: 384px}
100% {font-size: 256px}
}
@-webkit-keyframes beat
{
0% {font-size: 256px}
35% {font-size: 384px}
100% {font-size: 256px}
}
@-o-keyframes beat
{
0% {font-size: 256px}
35% {font-size: 384px}
100% {font-size: 256px}
}
.beat {
animation: beat 1.5s linear 0s infinite normal;
/* Firefox: */
-moz-animation: beat 1.5s linear 0s infinite normal;
/* Safari and Chrome: */
-webkit-animation: beat 1.5s linear 0s infinite normal;
/* Opera: */
-o-animation: beat 1.5s linear 0s infinite normal;
}