27 lines
328 B
CSS
27 lines
328 B
CSS
body, html {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#heartContainer {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.heart {
|
|
position: absolute;
|
|
font-size: 24px;
|
|
animation: fall linear;
|
|
}
|
|
|
|
@keyframes fall {
|
|
to {
|
|
transform: translateY(100vh);
|
|
opacity: 0;
|
|
}
|
|
}
|