-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (67 loc) · 1.18 KB
/
style.css
File metadata and controls
71 lines (67 loc) · 1.18 KB
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
html,body{
margin:0px;
height:100%;
}
.bg_heart{
position:relative;
top:0;
left:0;
width:100%;
height:100%;
overflow:hidden;
background-image:url("https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExN3poeHRxbGZkbWh0ZzE3dDlybWM3dnRwZ2VpeGRmcHJuaXExenptaCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/QrU69LU0LIuYJ9OQ4C/giphy.webp");
background-size:100% 100%;
z-index:-1;
}
.container{
position:absolute;
top:0;
left:0;
height:100%;
width:100%;
text-align:center;
color:white;
font-family:Arial, Helvetica, sans-serif;
}
.heart{
position:absolute;
top:-50%;
transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-m-transform:rotate(-45deg);
}
.heart:before{
position:absolute;
top:-50%;
left:0;
display:block;
content:"";
width:100%;
height:100%;
background:inherit;
border-radius:100%;
}
.heart:after{
position:absolute;
top:0;
right:-50%;
display:block;
content:"";
width:100%;
height:100%;
background:inherit;
border-radius:100%;
}
@keyframes love {
0%{top:110%}
}
@-webkit-keyframes love {
0%{top:110%}
}
@-moz-keyframes love {
0%{top:110%}
}
@-ms-keyframes love {
0%{top:110%}
}