
Edward M. answered 12/10/19
Well-versed HTML5 and CSS3 Coder. Knowledgable in photoshop.
A heart-beating animation can be achieved with a combination of Scalable Vector Graphics and CSS3 animations. The svg tag is used in the HTML markup to programmatically create the shape of the heart. CSS is then used to animate the vector shapes via the @keyframes property. Please refer to the following link to witness a working example as a JSFiddle:
Heart-Beating Animation
https://jsfiddle.net/vaeyf4c0/