html,body,svg { height:100% }
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath
by Kai Carver
HTML
<svg viewBox="0 0 100 100">
<clipPath id="myClip">
<circle cx="40" cy="35" r="35" />
</clipPath>
<path id="heart" d="M10,30 A20,20,0,0,1,50,30 A20,20,0,0,1,90,30 Q90,60,50,90 Q10,60,10,30 Z" />
<use clip-path="url(#myClip)" xlink:href="#heart" fill="red" />
</svg>
CSS
html,body,svg { height: 100%; }
@keyframes openYourHeart {
from { r: 0; }
to { r: 60px; }
}
#myClip circle {
animation: openYourHeart 15s infinite;
}